org.geotools.temporal.object
Class DefaultClockTime

Object
  extended by DefaultTemporalPosition
      extended by 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)

Constructor Summary
DefaultClockTime(TemporalReferenceSystem frame, IndeterminateValue indeterminatePosition, Number[] clockTime)
           
 
Method Summary
 boolean equals(Object object)
           
 Number[] getClockTime()
          A sequence of numbers with a structure similar to that of CalendarDate.
 int hashCode()
           
 void setClockTime(Number[] clockTime)
           
 String toString()
           
 
Methods inherited from class DefaultTemporalPosition
getFrame, getIndeterminatePosition, setFrame, setIndeterminatePosition
 
Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface TemporalPosition
getIndeterminatePosition
 

Constructor Detail

DefaultClockTime

public DefaultClockTime(TemporalReferenceSystem frame,
                        IndeterminateValue indeterminatePosition,
                        Number[] clockTime)
Method Detail

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.