|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object prefuse.data.parser.DateParser prefuse.data.parser.DateTimeParser
public class DateTimeParser
DataParser instance that parses Date values as java.util.Date instances,
representing a particular date and time.
This class uses a backing DateFormat
instance to
perform parsing. The DateFormat instance to use can be passed in to the
constructor, or by default the DateFormat returned by
DateFormat.getDateTimeInstance(int, int)
with both
arguments being DateFormat.SHORT
is used.
Field Summary |
---|
Fields inherited from class prefuse.data.parser.DateParser |
---|
m_dfmt, m_pos |
Constructor Summary | |
---|---|
DateTimeParser()
Create a new DateTimeParser. |
|
DateTimeParser(java.text.DateFormat dateFormat)
Create a new DateTimeParser. |
Method Summary |
---|
Methods inherited from class prefuse.data.parser.DateParser |
---|
canParse, format, getType, parse, parseDate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DateTimeParser()
public DateTimeParser(java.text.DateFormat dateFormat)
dateFormat
- the DateFormat instance to use for parsing
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |