Created
          May 23, 2012 10:38 
        
      - 
      
- 
        Save thetekst/2774504 to your computer and use it in GitHub Desktop. 
    TimerMeter
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | public class TimeMeter { | |
| public TimeMeter(Date sec) { | |
| System.out.println("Вы ввели .. секунд. Задание будет готово в .. .. .."); | |
| } | |
| public TimeMeter(Date min, Data sec) { | |
| } | |
| public TimeMeter(Date hour, Date min, Data sec) { | |
| } | |
| public void getTimeDone(){ | |
| // находим время окончания | |
| return (System.currentTimeMillis()-t)/1000 * 20 + 20; | |
| } | |
| } | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment