Skip to content

Instantly share code, notes, and snippets.

@thetekst
Created May 23, 2012 10:38
Show Gist options
  • Save thetekst/2774504 to your computer and use it in GitHub Desktop.
Save thetekst/2774504 to your computer and use it in GitHub Desktop.
TimerMeter
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