|
Jeospace API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jeospace.measure.TimeUnit
Constant object identifiers of periods of time.
For reference see:
http://ts.nist.gov/ts/htdocs/230/235/h4402/appenc.pdf
which contains values and conversion factors for many non-SI forms of measurement.
http://www.unc.edu/~rowlett/units/index.html
which contains values and anecdotal information on many forms of measurement
| Field Summary | |
static TimeUnit |
CALENDAR_YEAR
Constant time period, one calendar year. |
static TimeUnit |
HOUR
Constant time period, one hour. |
static TimeUnit |
JULIAN_YEAR
Constant time period, one Julian year. |
static TimeUnit |
LEAP_YEAR
Constant time period, one leap calendar year. |
static TimeUnit |
LUNAR_MONTH
Constant time period, one lunar month. |
static TimeUnit |
MILLISECOND
Constant time period, one millisecond. |
long |
milliseconds
The length of the time period in milliseconds. |
static TimeUnit |
MINUTE
Constant time period, one minute. |
java.lang.String |
name
The common name of the time period. |
static TimeUnit |
SECOND
Constant time period, one second. |
double |
seconds
The length of the time period in seconds. |
static TimeUnit |
SIDEREAL_DAY
Constant time period, one sidereal day. |
static TimeUnit |
SIDEREAL_YEAR
Constant time period, one sidereal year. |
static TimeUnit |
SOLAR_DAY
Constant time period, one solar / Julian day. |
static TimeUnit |
SOLAR_YEAR
Constant time period, one solar year. |
java.lang.String |
symbol
The symbol of the time period |
static TimeUnit |
TROPICAL_YEAR
Constant time period, one tropical year. |
| Constructor Summary | |
protected |
TimeUnit(java.lang.String name,
java.lang.String symbol,
long milliseconds,
double seconds)
Protected Constructor |
| Method Summary | |
static TimeUnit[] |
getTimeUnits()
Return an array of the defined TimeUnit objects |
java.lang.String |
toString()
Return the name of the time period. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final TimeUnit MILLISECOND
public static final TimeUnit SECOND
public static final TimeUnit MINUTE
public static final TimeUnit HOUR
public static final TimeUnit SOLAR_DAY
public static final TimeUnit SIDEREAL_DAY
public static final TimeUnit LUNAR_MONTH
public static final TimeUnit JULIAN_YEAR
public static final TimeUnit SOLAR_YEAR
public static final TimeUnit SIDEREAL_YEAR
public static final TimeUnit TROPICAL_YEAR
public static final TimeUnit CALENDAR_YEAR
public static final TimeUnit LEAP_YEAR
public final java.lang.String name
public final java.lang.String symbol
public final long milliseconds
public final double seconds
| Constructor Detail |
protected TimeUnit(java.lang.String name,
java.lang.String symbol,
long milliseconds,
double seconds)
name - the name of the time period.symbol - the symbol of the time period.milliseconds - the duration of the time period in milliseconds.seconds - the duration of the time period in seconds.| Method Detail |
public static TimeUnit[] getTimeUnits()
TimeUnit objects
TimeUnit objectspublic java.lang.String toString()
|
Jeospace API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||