org.geotools.temporal.object
Class DefaultClockTime
Object
DefaultTemporalPosition
DefaultClockTime
- All Implemented Interfaces:
- ClockTime, TemporalPosition
public class DefaultClockTime
- extends DefaultTemporalPosition
- implements ClockTime
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)
DefaultClockTime
public DefaultClockTime(TemporalReferenceSystem frame,
IndeterminateValue indeterminatePosition,
Number[] clockTime)
getClockTime
public Number[] getClockTime()
- A sequence of numbers with a structure similar to that of
CalendarDate
. 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 interface ClockTime
setClockTime
public void setClockTime(Number[] clockTime)
equals
public boolean equals(Object object)
- Overrides:
equals
in class DefaultTemporalPosition
hashCode
public int hashCode()
- Overrides:
hashCode
in class DefaultTemporalPosition
toString
public String toString()
- Overrides:
toString
in class DefaultTemporalPosition
Copyright © 1996-2014 Geotools. All Rights Reserved.