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_KEYFields 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 TypeMethodDescriptionbooleanIdentifies 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.inthashCode()voidsetInterval(InternationalString interval) voidtoString()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, toWKTMethods inherited from interface IdentifiedObject
getAlias, getIdentifiers, getRemarks, toWKTMethods inherited from interface ReferenceSystem
getScopeMethods 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:TemporalCoordinateSystemPosition 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:
getOriginin interfaceTemporalCoordinateSystem
-
getInterval
Description copied from interface:TemporalCoordinateSystemIdentifies 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:
getIntervalin interfaceTemporalCoordinateSystem
-
transformCoord
Returns the equivalent Date in the Gregorian calendar and UTC of a coordinate value defined in this temporal coordinate system.- Specified by:
transformCoordin interfaceTemporalCoordinateSystem
-
transformDateTime
Returns the equivalent TemporalCoordinate of a Date in Gregorian Calendar. Default of unit is millisecond.- Specified by:
transformDateTimein interfaceTemporalCoordinateSystem
-
equals
- Overrides:
equalsin classDefaultTemporalReferenceSystem
-
hashCode
public int hashCode()- Overrides:
hashCodein classDefaultTemporalReferenceSystem
-
toString
- Overrides:
toStringin classDefaultTemporalReferenceSystem
-