#include <Units.h>
Public Member Functions | |
bool | equals (Units units) |
int | hashCode () |
Static Public Attributes | |
const Units | SECONDS |
const Units | MINUTES |
const Units | HOURS |
const Units | DAYS |
Protected Member Functions | |
Units (int units) | |
long | getNumSeconds () |
int | getUnits () |
Friends | |
class | TimeInterval |
|
Constructs a Units object.
|
|
Compares this Units object with another.
|
|
Gets the number of seconds in this unit.
|
|
Gets the units represented by this Units object.
|
|
Returns a hash code value for the object.
|
|
Days. |
|
Hours. |
|
Minutes. |
|
Seconds. |