org.metasyntactic.utilities
Class Time
java.lang.Object
|
+--org.metasyntactic.utilities.Time
- public class Time
- extends java.lang.Object
|
Constructor Summary |
Time(long millis)
|
Time(long amount,
int type)
|
|
Method Summary |
java.lang.String |
toString()
|
java.lang.String |
toString(boolean printEmptyFields)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MILLISECONDS
public static final int MILLISECONDS
- See Also:
- Constant Field Values
SECONDS
public static final int SECONDS
- See Also:
- Constant Field Values
MINUTES
public static final int MINUTES
- See Also:
- Constant Field Values
HOURS
public static final int HOURS
- See Also:
- Constant Field Values
DAYS
public static final int DAYS
- See Also:
- Constant Field Values
YEARS
public static final int YEARS
- See Also:
- Constant Field Values
Time
public Time(long millis)
Time
public Time(long amount,
int type)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
toString
public java.lang.String toString(boolean printEmptyFields)