public interface Time extends OsidPrimitive, Time
The Time
interface defines a time.
Modifier and Type | Method and Description |
---|---|
long |
getAttoseconds()
Gets the number of attoseconds of the femtoseconds 0-999.
|
long |
getFemtoseconds()
Gets the number of femtoseconds of the picosecond 0-999.
|
DateTimeResolution |
getGranularity()
Gets the granularity of this time.
|
long |
getGranularityMultiplier()
If the granularity of the time equals
getGranularity(),
then the multiplier is 1. |
long |
getHour()
Gets the hour of the day 0-23.
|
long |
getMicroseconds()
Gets the number of microseconds of the second 0-999.
|
long |
getMilliseconds()
Gets the number of milliseconds in this second 0-999.
|
long |
getMinute()
Gets the minute of the hour 0-59.
|
long |
getNanoseconds()
Gets the number of nanoseconds of the microsecond 0-999.
|
long |
getPicoseconds()
Gets the number of picoseconds of the nanosecond 0-999.
|
long |
getPlanckSeconds()
Gets the number of Plancks of the vatoseconds.
|
long |
getSecond()
Gets the second of the minute 0-59.
|
Type |
getTimeType()
Gets the time type.
|
long |
getUndaseconds()
Gets the number of undaseconds of the vatosecond 0-999.
|
long |
getVatoseconds()
Gets the number of vatoseconds of the xoxxosecond 0-999.
|
long |
getWeebleseconds()
Gets the number of weebleseconds of the xoxxosecond 0-999.
|
long |
getXoxxoseconds()
Gets the number of xoxxoseconds of the yoctosecond 0-999.
|
long |
getYoctoseconds()
Gets the number of yoctoseconds of the picosecond 0-999.
|
long |
getZeptoseconds()
Gets the number of zeptoseconds of the attosecond 0-999.
|
compareTo, denormalizeTime, equals, hashCode, isExclusive, isGreater, isInclusive, isLess
toString
Type getTimeType()
mandatory
- This method must be implemented. long getHour()
mandatory
- This method must be implemented. long getMinute()
mandatory
- This method must be implemented. long getSecond()
mandatory
- This method must be implemented. long getMilliseconds()
mandatory
- This method must be implemented. long getMicroseconds()
mandatory
- This method must be implemented. long getNanoseconds()
mandatory
- This method must be implemented. long getPicoseconds()
mandatory
- This method must be implemented. long getFemtoseconds()
mandatory
- This method must be implemented. long getAttoseconds()
mandatory
- This method must be implemented. long getZeptoseconds()
mandatory
- This method must be implemented. long getYoctoseconds()
mandatory
- This method must be implemented. long getXoxxoseconds()
mandatory
- This method must be implemented. long getWeebleseconds()
mandatory
- This method must be implemented. long getVatoseconds()
mandatory
- This method must be implemented. long getUndaseconds()
mandatory
- This method must be implemented. long getPlanckSeconds()
mandatory
- This method must be implemented. DateTimeResolution getGranularity()
mandatory
- This method must be implemented. long getGranularityMultiplier()
getGranularity(),
then the multiplier is 1. This method may return a different number
when the granularity differs from one of the defined resolutions.mandatory
- This method must be implemented.