|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openstreetmap.osmosis.core.domain.common.SimpleTimestampContainer
public class SimpleTimestampContainer
A timestamp container implementation that holds a standard date object.
Constructor Summary | |
---|---|
SimpleTimestampContainer(java.util.Date timestamp)
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 SimpleTimestampContainer(java.util.Date timestamp)
timestamp
- The timestamp to be managed.Method Detail |
---|
public java.lang.String getFormattedTimestamp(TimestampFormat timestampFormat)
getFormattedTimestamp
in interface TimestampContainer
timestampFormat
- 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 |