org.glite.rgma
Class Units

java.lang.Object
  extended by org.glite.rgma.Units

public class Units
extends java.lang.Object

Time units.


Field Summary
static Units DAYS
          Days.
static Units HOURS
          Hours.
static Units MILLIS
          Milliseconds.
static Units MINUTES
          Minutes.
static Units SECONDS
          Seconds.
 
Method Summary
 boolean equals(java.lang.Object obj)
          Compares this object with the specified object.
 int hashCode()
          Returns a hash code value for the object.
 java.lang.String toString()
          Returns a string representation of the object.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

MILLIS

public static final Units MILLIS
Milliseconds.


SECONDS

public static final Units SECONDS
Seconds.


MINUTES

public static final Units MINUTES
Minutes.


HOURS

public static final Units HOURS
Hours.


DAYS

public static final Units DAYS
Days.

Method Detail

equals

public boolean equals(java.lang.Object obj)
Compares this object with the specified object.

Overrides:
equals in class java.lang.Object
Parameters:
obj - Object to compare.
Returns:
true if this object and the specified object are equal.
See Also:
Object.equals(java.lang.Object)

hashCode

public int hashCode()
Returns a hash code value for the object.

Overrides:
hashCode in class java.lang.Object
Returns:
a hash code value for this object.
See Also:
Object.hashCode()

toString

public java.lang.String toString()
Returns a string representation of the object.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of the object.
See Also:
Object.toString()