|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.temporal.object.DefaultPosition
public class DefaultPosition
A union class that consists of one of the data types listed as its attributes. Date, Time, and DateTime are basic data types defined in ISO/TS 19103, and may be used for describing temporal positions referenced to the Gregorian calendar and UTC.
Constructor Summary | |
---|---|
DefaultPosition(java.util.Date date)
|
|
DefaultPosition(org.opengis.util.InternationalString datetime)
This constructor replace the constructor with further DateTime object which will be included in the futur version of jdk (jdk7). |
|
DefaultPosition(org.opengis.temporal.TemporalPosition anyOther)
This constructor set the position property as a TemporalPosition. |
Method Summary | |
---|---|
org.opengis.temporal.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(java.lang.Object object)
Verify if this entry is identical to the specified object. |
java.util.Date |
getDate()
May be used for describing temporal positions in ISO8601 format referenced to the Gregorian calendar and UTC. |
org.opengis.util.InternationalString |
getDateTime()
May be used for describing temporal positions in ISO8601 format referenced to the Gregorian calendar and UTC. |
java.sql.Time |
getTime()
May be used for describing temporal positions in ISO8601 format referenced to the Gregorian calendar and UTC. |
int |
hashCode()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DefaultPosition(java.util.Date date)
public DefaultPosition(org.opengis.util.InternationalString datetime) throws java.text.ParseException
dateTime
-
java.text.ParseException
public DefaultPosition(org.opengis.temporal.TemporalPosition anyOther)
anyOther
- Method Detail |
---|
public org.opengis.temporal.TemporalPosition anyOther()
anyOther
in interface org.opengis.temporal.Position
public java.util.Date getDate()
getDate
in interface org.opengis.temporal.Position
public java.sql.Time getTime()
getTime
in interface org.opengis.temporal.Position
public org.opengis.util.InternationalString getDateTime()
getDateTime
in interface org.opengis.temporal.Position
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |