Class CustomDuration

  • All Implemented Interfaces:

    
    public class CustomDuration
    
                        

    Created by amine on 26/07/2017.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      public long startTime
      public long endTime
    • Constructor Summary

      Constructors 
      Constructor Description
      CustomDuration()
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      long getStartTime()
      long getEndTime()
      void start()
      void end()
      int getDurationSeconds()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait