|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openstreetmap.osmosis.core.xml.common.DateParser
public class DateParser
Handles a number of different date formats encountered in OSM. This is built based on similar code in JOSM. This class is not threadsafe, a separate instance must be created per thread.
Constructor Summary | |
---|---|
DateParser()
Creates a new instance. |
Method Summary | |
---|---|
java.util.Date |
parse(java.lang.String date)
Attempts to parse the specified date. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DateParser()
Method Detail |
---|
public java.util.Date parse(java.lang.String date)
date
- The date to parse.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |