|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.referencing.wkt.Formattable org.geotools.referencing.AbstractIdentifiedObject org.geotools.referencing.datum.AbstractDatum org.geotools.referencing.datum.DefaultTemporalDatum
A temporal datum defines the origin of a temporal coordinate reference system.
Field Summary | |
static DefaultTemporalDatum |
UNIX
Default datum for time measured since January 1st, 1970 at 00:00 UTC. |
Fields inherited from class org.geotools.referencing.AbstractIdentifiedObject |
EMPTY_ALIAS_ARRAY, EMPTY_IDENTIFIER_ARRAY, IDENTIFIER_COMPARATOR, NAME_COMPARATOR, REMARKS_COMPARATOR |
Fields inherited from interface org.opengis.referencing.datum.Datum |
ANCHOR_POINT_KEY, REALIZATION_EPOCH_KEY, SCOPE_KEY, VALID_AREA_KEY |
Fields inherited from interface org.opengis.referencing.IdentifiedObject |
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY |
Constructor Summary | |
DefaultTemporalDatum(java.util.Map properties,
java.util.Date origin)
Constructs a temporal datum from a set of properties. |
|
DefaultTemporalDatum(java.lang.String name,
java.util.Date origin)
Constructs a temporal datum from a name. |
|
DefaultTemporalDatum(org.opengis.referencing.datum.TemporalDatum datum)
Constructs a new datum with the same values than the specified one. |
Method Summary | |
boolean |
equals(AbstractIdentifiedObject object,
boolean compareMetadata)
Compare this temporal datum with the specified object for equality. |
org.opengis.util.InternationalString |
getAnchorPoint()
Description of the point or points used to anchor the datum to the Earth. |
java.util.Date |
getOrigin()
The date and time origin of this temporal datum. |
java.util.Date |
getRealizationEpoch()
The time after which this datum definition is valid. |
int |
hashCode()
Returns a hash value for this temporal datum. |
Methods inherited from class org.geotools.referencing.datum.AbstractDatum |
formatWKT, getScope, getValidArea |
Methods inherited from class org.geotools.referencing.AbstractIdentifiedObject |
asSet, ensureAngularUnit, ensureLinearUnit, ensureNonNull, ensureNonNull, ensureTimeUnit, equals, equals, equals, equals, getAlias, getIdentifier, getIdentifier, getIdentifiers, getName, getName, getName, getProperties, getProperties, getRemarks, nameMatches, nameMatches |
Methods inherited from class org.geotools.referencing.wkt.Formattable |
toString, toWKT, toWKT, toWKT |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.opengis.referencing.datum.Datum |
getScope, getValidArea |
Methods inherited from interface org.opengis.referencing.IdentifiedObject |
getAlias, getIdentifiers, getName, getRemarks, toWKT |
Field Detail |
public static final DefaultTemporalDatum UNIX
Constructor Detail |
public DefaultTemporalDatum(org.opengis.referencing.datum.TemporalDatum datum)
public DefaultTemporalDatum(java.lang.String name, java.util.Date origin)
name
- The datum name.origin
- The date and time origin of this temporal datum.public DefaultTemporalDatum(java.util.Map properties, java.util.Date origin)
properties
- Set of properties. Should contains at least "name"
.origin
- The date and time origin of this temporal datum.Method Detail |
public java.util.Date getOrigin()
getOrigin
in interface org.opengis.referencing.datum.TemporalDatum
public org.opengis.util.InternationalString getAnchorPoint()
getAnchorPoint
in interface org.opengis.referencing.datum.TemporalDatum
getAnchorPoint
in class AbstractDatum
public java.util.Date getRealizationEpoch()
getRealizationEpoch
in interface org.opengis.referencing.datum.TemporalDatum
getRealizationEpoch
in class AbstractDatum
public boolean equals(AbstractIdentifiedObject object, boolean compareMetadata)
equals
in class AbstractDatum
object
- The object to compare to .compareMetadata
- for performing a strict comparaison, or
for comparing only properties relevant to transformations.
public int hashCode()
equals
(AbstractIdentifiedObject, false)
.
hashCode
in class AbstractIdentifiedObject
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |