org.metasyntactic.utilities
Class Time

java.lang.Object
  |
  +--org.metasyntactic.utilities.Time

public class Time
extends java.lang.Object


Field Summary
static int DAYS
           
static int HOURS
           
static int MILLISECONDS
           
static int MINUTES
           
static int SECONDS
           
static int YEARS
           
 
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
 

Field Detail

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
Constructor Detail

Time

public Time(long millis)

Time

public Time(long amount,
            int type)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

toString

public java.lang.String toString(boolean printEmptyFields)