|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.oddjob.arooa.utils.TimeParser
public class TimeParser
A Parser for time. The format must be either:
CalendarAdaptor.
| Constructor Summary | |
|---|---|
TimeParser()
Constructor. |
|
TimeParser(Calendar calendar)
Constructor. |
|
TimeParser(CalendarAdaptor adaptor)
Constructor. |
|
TimeParser(TimeZone timeZone)
Constructor. |
|
| Method Summary | |
|---|---|
Date |
parse(String text)
Parse the given time string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TimeParser(CalendarAdaptor adaptor)
adaptor - The adaptor to base the date on.public TimeParser(Calendar calendar)
calendar - The calendar to base the date on.public TimeParser(TimeZone timeZone)
timeZone - The given time zone.public TimeParser()
| Method Detail |
|---|
public Date parse(String text)
throws ParseException
text - The time.
CalendarAdaptor.
ParseException
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||