NzaeInterval Class reference

This class is for the Interval data type.

Public member functions

int compareTo(Object o)
Compares two NzaeInterval objects.
String toString()
Returns the string representation.

Public attributes

month
The month portion of the interval.
time
The time portion of the interval.

Public member functions documentation

int compareTo(Object o)
Compares two NzaeInterval objects.
Parameters
  • o

    The object to be compared to.

Returns

A negative integer if the object is less than the specified object, 0 is the objects are equal, or a pos- itive integer is the object is greater than the specified object.

Returns an integer describing whether the object is less than, equal to, or greater than the specified ob- ject.

String toString()
Returns the string representation.
Returns

The string representation.

Member data documentation

long month
Represents months and years.
long time
In microseconds. Represents everything but months and years.