Package org.geotools.temporal.object
Class DefaultClockTime
Object
DefaultTemporalPosition
DefaultClockTime
- All Implemented Interfaces:
ClockTime
,TemporalPosition
A data type that shall be used to identify a temporal position within a day. Because temporal position cannot by itself completely identify a single temporal position; it shall be used with
calendar date for that purpose. It may be also used to identify the time of occurrence of
an event that recurs every day.
- Author:
- Mehdi Sidhoum (Geomatys)
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultClockTime
(TemporalReferenceSystem frame, IndeterminateValue indeterminatePosition, Number... clockTime) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Number[]
A sequence of numbers with a structure similar to that ofCalendarDate
.int
hashCode()
void
setClockTime
(Number... clockTime) toString()
Methods inherited from class DefaultTemporalPosition
getFrame, getIndeterminatePosition, setFrame, setIndeterminatePosition
Methods inherited from interface TemporalPosition
getIndeterminatePosition
-
Constructor Details
-
DefaultClockTime
public DefaultClockTime(TemporalReferenceSystem frame, IndeterminateValue indeterminatePosition, Number... clockTime)
-
-
Method Details
-
getClockTime
A sequence of numbers with a structure similar to that ofCalendarDate
. The first number integer identifies a specific instance of the unit used at the highest level of the clock hierarchy, the second number identifies a specific instance of the unit used at the next lower level, and so on. All but the last number in the sequence shall be integers; the last number may be integer or real.- Specified by:
getClockTime
in interfaceClockTime
-
setClockTime
-
equals
- Overrides:
equals
in classDefaultTemporalPosition
-
hashCode
public int hashCode()- Overrides:
hashCode
in classDefaultTemporalPosition
-
toString
- Overrides:
toString
in classDefaultTemporalPosition
-