|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.openstreetmap.osmosis.core.domain.common.UnparsedTimestampContainer
public class UnparsedTimestampContainer
A timestamp container implementation that holds a timestamp in textual form.
| Constructor Summary | |
|---|---|
UnparsedTimestampContainer(TimestampFormat timestampFormat,
java.lang.String timestampString)
Creates a new instance. |
|
| Method Summary | |
|---|---|
java.lang.String |
getFormattedTimestamp(TimestampFormat timestampFormat)
Gets the timestamp in a string format. |
java.util.Date |
getTimestamp()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UnparsedTimestampContainer(TimestampFormat timestampFormat,
java.lang.String timestampString)
timestampFormat - The format to use for parsing the timestamp string.timestampString - The timestamp in unparsed string form.| Method Detail |
|---|
public java.lang.String getFormattedTimestamp(TimestampFormat timestampFormat)
getFormattedTimestamp in interface TimestampContainertimestampFormat - The formatter to use for formatting the timestamp into a
string.
public java.util.Date getTimestamp()
getTimestamp in interface TimestampContainer
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||