org.geotools.temporal.object
Class DefaultClockTime
java.lang.Object
org.geotools.temporal.object.DefaultTemporalPosition
org.geotools.temporal.object.DefaultClockTime
- All Implemented Interfaces:
- org.opengis.temporal.ClockTime, org.opengis.temporal.TemporalPosition
public class DefaultClockTime
- extends DefaultTemporalPosition
- implements org.opengis.temporal.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)
Constructor Summary |
DefaultClockTime(org.opengis.temporal.TemporalReferenceSystem frame,
org.opengis.temporal.IndeterminateValue indeterminatePosition,
java.lang.Number[] clockTime)
|
Method Summary |
boolean |
equals(java.lang.Object object)
|
java.lang.Number[] |
getClockTime()
A sequence of numbers with a structure similar to that of CalendarDate . |
int |
hashCode()
|
void |
setClockTime(java.lang.Number[] clockTime)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.opengis.temporal.TemporalPosition |
getIndeterminatePosition |
DefaultClockTime
public DefaultClockTime(org.opengis.temporal.TemporalReferenceSystem frame,
org.opengis.temporal.IndeterminateValue indeterminatePosition,
java.lang.Number[] clockTime)
getClockTime
public java.lang.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 org.opengis.temporal.ClockTime
setClockTime
public void setClockTime(java.lang.Number[] clockTime)
equals
public boolean equals(java.lang.Object object)
- Overrides:
equals
in class DefaultTemporalPosition
hashCode
public int hashCode()
- Overrides:
hashCode
in class DefaultTemporalPosition
toString
public java.lang.String toString()
- Overrides:
toString
in class DefaultTemporalPosition
Copyright © 1996-2010 Geotools. All Rights Reserved.