Class UTCTimeDefinition
java.lang.Object
net.okapia.osid.primordium.calendaring.time.spi.Abstract246060TimeDefinition
net.okapia.osid.primordium.calendaring.time.definitions.UTCTimeDefinition
- All Implemented Interfaces:
Serializable, TimeDefinition
A definition of a UTC time system used by ConfigurableTime.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the time type.booleanUTC is a global standard clock: a single, location-independent timeline, so a UTC reading carries unchanged between datetimes.Methods inherited from class Abstract246060TimeDefinition
getHoursPerDay, getLabel, getMinutesPerHour, getPlancksPerSecond, getPluralLabel, getSecondsPerMinute, getStartingHour, getStartingMinute, getStartingSecond, getUnitsModifier and TypeMethodDescriptionlongGets the number of hours in a day.getLabel(DateTimeResolution units) Gets a label for a unit.longGets the number of minutes in a hour.Gets the number of planck seconds in a second.getPluralLabel(DateTimeResolution units) Gets a plural label for a unit.longGets the number of seocnds in a minute.longGets the starting number for the hour.longGets the starting minute for the hour.longGets the starting second for the minute.Gets the granularity for a label.
-
Constructor Details
-
UTCTimeDefinition
public UTCTimeDefinition()Constructs a newUTCTimeDefinition.
-
-
Method Details
-
getTimeType
Gets the time type.- Specified by:
getTimeTypein interfaceTimeDefinition- Returns:
- the time type
-
isGlobalStandard
public boolean isGlobalStandard()UTC is a global standard clock: a single, location-independent timeline, so a UTC reading carries unchanged between datetimes.- Specified by:
isGlobalStandardin interfaceTimeDefinition- Returns:
true
-