public class TimeParser extends Object
CalendarAdaptor.| Constructor and Description |
|---|
TimeParser()
Constructor.
|
TimeParser(Calendar calendar)
Constructor.
|
TimeParser(CalendarAdaptor adaptor)
Constructor.
|
TimeParser(TimeZone timeZone)
Constructor.
|
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()
public Date parse(String text) throws ParseException
text - The time.CalendarAdaptor.ParseException