public class DefaultTemporalCoordinateSystem extends DefaultTemporalReferenceSystem implements TemporalCoordinateSystem
DOMAIN_OF_VALIDITY_KEY, SCOPE_KEY
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY
Constructor and Description |
---|
DefaultTemporalCoordinateSystem(ReferenceIdentifier name,
Extent domainOfValidity,
Date origin,
InternationalString interval) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object) |
InternationalString |
getInterval()
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.
|
Date |
getOrigin()
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 |
setOrigin(Date origin) |
String |
toString() |
Date |
transformCoord(TemporalCoordinate c_value)
Returns the equivalent Date in the Gregorian calendar and UTC of a coordinate value defined
in this temporal coordinate system.
|
TemporalCoordinate |
transformDateTime(Date dateTime)
Returns the equivalent TemporalCoordinate of a Date in Gregorian Calendar.
|
getAlias, getDomainOfValidity, getIdentifiers, getName, getRemarks, getScope, getValidArea, setDomainOfValidity, setName, setScope, setValidArea, toWKT
getDomainOfValidity, getName
getScope
getAlias, getIdentifiers, getRemarks, toWKT
public DefaultTemporalCoordinateSystem(ReferenceIdentifier name, Extent domainOfValidity, Date origin, InternationalString interval)
public void setOrigin(Date origin)
public void setInterval(InternationalString interval)
public Date getOrigin()
TemporalCoordinateSystem
getOrigin
in interface TemporalCoordinateSystem
public InternationalString getInterval()
TemporalCoordinateSystem
getInterval
in interface TemporalCoordinateSystem
public Date transformCoord(TemporalCoordinate c_value)
transformCoord
in interface TemporalCoordinateSystem
c_value
- public TemporalCoordinate transformDateTime(Date dateTime)
transformDateTime
in interface TemporalCoordinateSystem
dateTime
- public boolean equals(Object object)
equals
in class DefaultTemporalReferenceSystem
public int hashCode()
hashCode
in class DefaultTemporalReferenceSystem
public String toString()
toString
in class DefaultTemporalReferenceSystem
Copyright © 1996–2019 Geotools. All rights reserved.