Package org.geotools.temporal.reference
Class DefaultTemporalCoordinateSystem
Object
DefaultTemporalReferenceSystem
DefaultTemporalCoordinateSystem
- All Implemented Interfaces:
IdentifiedObject
,ReferenceSystem
,TemporalCoordinateSystem
,TemporalReferenceSystem
public class DefaultTemporalCoordinateSystem
extends DefaultTemporalReferenceSystem
implements TemporalCoordinateSystem
- Author:
- Mehdi Sidhoum (Geomatys)
-
Field Summary
Fields inherited from interface IdentifiedObject
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY
Fields inherited from interface ReferenceSystem
DOMAIN_OF_VALIDITY_KEY, SCOPE_KEY
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultTemporalCoordinateSystem
(ReferenceIdentifier name, Extent domainOfValidity, Date origin, InternationalString interval) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Identifies the base interval for this temporal coordinate system as a unit of measure specified by ISO 31-1, or a multiple of one of those units, as specified by ISO 1000.Position of the origin of the scale on which the temporal coordinate system is based expressed as a date in the Gregorian calendar and time of day in UTC.int
hashCode()
void
setInterval
(InternationalString interval) void
toString()
transformCoord
(TemporalCoordinate c_value) Returns the equivalent Date in the Gregorian calendar and UTC of a coordinate value defined in this temporal coordinate system.transformDateTime
(Date dateTime) Returns the equivalent TemporalCoordinate of a Date in Gregorian Calendar.Methods inherited from class DefaultTemporalReferenceSystem
getAlias, getDomainOfValidity, getIdentifiers, getName, getRemarks, getScope, setDomainOfValidity, setName, setScope, setValidArea, toWKT
Methods inherited from interface IdentifiedObject
getAlias, getIdentifiers, getRemarks, toWKT
Methods inherited from interface ReferenceSystem
getScope
Methods inherited from interface TemporalReferenceSystem
getDomainOfValidity, getName
-
Constructor Details
-
DefaultTemporalCoordinateSystem
public DefaultTemporalCoordinateSystem(ReferenceIdentifier name, Extent domainOfValidity, Date origin, InternationalString interval)
-
-
Method Details
-
setOrigin
-
setInterval
-
getOrigin
Description copied from interface:TemporalCoordinateSystem
Position of the origin of the scale on which the temporal coordinate system is based expressed as a date in the Gregorian calendar and time of day in UTC.- Specified by:
getOrigin
in interfaceTemporalCoordinateSystem
-
getInterval
Description copied from interface:TemporalCoordinateSystem
Identifies the base interval for this temporal coordinate system as a unit of measure specified by ISO 31-1, or a multiple of one of those units, as specified by ISO 1000.- Specified by:
getInterval
in interfaceTemporalCoordinateSystem
-
transformCoord
Returns the equivalent Date in the Gregorian calendar and UTC of a coordinate value defined in this temporal coordinate system.- Specified by:
transformCoord
in interfaceTemporalCoordinateSystem
-
transformDateTime
Returns the equivalent TemporalCoordinate of a Date in Gregorian Calendar. Default of unit is millisecond.- Specified by:
transformDateTime
in interfaceTemporalCoordinateSystem
-
equals
- Overrides:
equals
in classDefaultTemporalReferenceSystem
-
hashCode
public int hashCode()- Overrides:
hashCode
in classDefaultTemporalReferenceSystem
-
toString
- Overrides:
toString
in classDefaultTemporalReferenceSystem
-