2013年9月22日星期日

Seeking ideas : java if the period of use and resolve product issues

 This post last edited by the xizaizhuanyong_ on 2012-09-17 09:59:13
to make a product, to the product add to the time after a period of use can not be used , do not change the next time the system can easily break , do not use the number of restrictions , only use the time limit. Also consider the case of non-networked , how do you pass the big seek God and ideas
------ Solution --------- -----------------------------------
time to judge the system as long as no changes to the system time and could have been avoided can use problems,
will actually use every time a file is written , when the time reaches a predetermined time to exit the program. Landing with a specified time and the same time to compare documents .
such as restrictions on the user trial 100 minutes , then the running time of the program to write files , if the application is first run for 60 minutes and the second run 30 minutes , this time to accumulate the third time the user can only use 10 minutes expired , so even if the user to modify the system time there is no way for products . Because we are not comparable with the system time .
safer approach is to use the system to make a TIMER TIMER own record time .
------ For reference only -------------------------------------- -

没有评论:

发表评论