Class Time

java.lang.Object
org.episteme.social.history.time.Time
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ChineseTime, DecimalTime, HexadecimalTime, InternetTime, ModernTime

public abstract class Time extends Object implements Serializable
An abstract base class for different time representation systems.
Since:
2.0
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
See Also:
  • Constructor Details

    • Time

      public Time()
  • Method Details

    • getTime

      public abstract Quantity<Time> getTime()
      Returns the total elapsed time as a quantity.
      Returns:
      the amount of time
    • getMilliseconds

      public abstract int getMilliseconds()
    • getSeconds

      public abstract int getSeconds()
    • getMinutes

      public abstract int getMinutes()
    • getHours

      public abstract int getHours()
    • getDays

      public abstract int getDays()
    • nextMillisecond

      public abstract void nextMillisecond()
    • nextSecond

      public abstract void nextSecond()
    • nextMinute

      public abstract void nextMinute()
    • nextHour

      public abstract void nextHour()
    • nextDay

      public abstract void nextDay()
    • toString

      public abstract String toString()
      Overrides:
      toString in class Object