|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.openstreetmap.osmosis.core.domain.common.TimestampFormat
org.openstreetmap.osmosis.core.xml.common.XmlTimestampFormat
public class XmlTimestampFormat
A timestamp format implementation for dates read and stored from osm xml files.
| Constructor Summary | |
|---|---|
XmlTimestampFormat()
Creates a new instance. |
|
| Method Summary | |
|---|---|
java.lang.String |
formatTimestamp(java.util.Date timestamp)
Formats the date object into string form. |
java.util.Date |
parseTimestamp(java.lang.String timestamp)
Parses a date string into date form. |
| Methods inherited from class org.openstreetmap.osmosis.core.domain.common.TimestampFormat |
|---|
isEquivalent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XmlTimestampFormat()
| Method Detail |
|---|
public java.lang.String formatTimestamp(java.util.Date timestamp)
formatTimestamp in class TimestampFormattimestamp - The date to be formatted.
public java.util.Date parseTimestamp(java.lang.String timestamp)
parseTimestamp in class TimestampFormattimestamp - The date string to be parsed.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||