public class DefaultPosition extends Object implements Position
| Constructor and Description |
|---|
DefaultPosition(Date date) |
DefaultPosition(InternationalString datetime)
This constructor replace the constructor with further DateTime object which will be included
in the futur version of jdk (jdk7). example of datetime argument: format specified by the
ISO8601 yyyy-mm-DDTHH:MM:SSZ - example : 2003-02-13T12:28:00.000GMT-08:00.
|
DefaultPosition(TemporalPosition anyOther)
This constructor set the position property as a TemporalPosition.
|
| Modifier and Type | Method and Description |
|---|---|
TemporalPosition |
anyOther()
TemporalPosition and its subtypes shall be used for describing temporal
positions referenced to other reference systems, and may be used for temporal positions
referenced to any calendar or clock, including the Gregorian calendar and UTC.
|
boolean |
equals(Object object)
Verify if this entry is identical to the specified object.
|
Date |
getDate()
May be used for describing temporal positions in ISO8601 format referenced to the Gregorian
calendar and UTC.
|
InternationalString |
getDateTime()
May be used for describing temporal positions in ISO8601 format referenced to the Gregorian
calendar and UTC.
|
Time |
getTime()
May be used for describing temporal positions in ISO8601 format referenced to the Gregorian
calendar and UTC.
|
int |
hashCode() |
String |
toString() |
public DefaultPosition(Date date)
public DefaultPosition(InternationalString datetime) throws ParseException
dateTime - ParseExceptionpublic DefaultPosition(TemporalPosition anyOther)
anyOther - public TemporalPosition anyOther()
public Date getDate()
getDate in interface Positionpublic Time getTime()
getTime in interface Positionpublic InternationalString getDateTime()
getDateTime in interface Positionpublic boolean equals(Object object)
Copyright © 1996–2019 Geotools. All rights reserved.