Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package time;
- public class Time{
- public long partenza;
- public long fine;
- public Time(){
- partenza = 0;
- }
- public void start(){
- partenza = System.currentTimeMillis ();
- }
- public long end(){
- long fine;
- fine = System.currentTimeMillis ();
- return fine - partenza - this.tempoTrascorso;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement