Package com.redwood.scheduler.api.date
Class FullISODateParser
- java.lang.Object
-
- com.redwood.scheduler.api.date.FullISODateParser
-
public class FullISODateParser extends Object
Full ISO8601 and likewise pattern parser. This allows parsing of dates like this: 2001-12-31T23:59:59,999+0100 -- ISO 8601 2001-12-31T23:59:59,999Z -- ISO 8601 2001-12-31T24:00:00,000+0100 -- ISO 8601 2001-12-31T23:59+0100 -- ISO 8601 (!) 2001-12-31T23+0100 -- ISO 8601 (!) 2001-12-31T23,5+0100 -- ISO 8601 (!) 2001-12-31 -- ISO 8601 (!) 20011231T23:59:59.999+01:00 -- ISO 8601 (!) 2001/12/31 23:59:59.999+01:00 -- ISO 8601 like 2001-12-31 23:59:59.999+01:00 -- ISO 8601 like 2001-12-31 23:59:59.999GMT+01:00 -- ISO 8601 like 2001-12-31 23:59:59.999 GMT -- ISO 8601 like 2001-12-31 23:59:59.999 CET -- ISO 8601 like 2001-12-31 23:59:59.999 Amsterdam/Europe -- ISO 8601 like 2001-12-31 23:59:59.999 GMT -- ISO 8601 like In ISO 8601 all parts except year are optional. Year is always four digits. If Y, M and D are present then they can be in the format YYYYMMDD.
-
-
Constructor Summary
Constructors Constructor Description FullISODateParser(String s)
FullISODateParser(String s, TimeZone newTZ)
-
-
-
Method Detail
-
parse
public DateTimeZone parse()
-
-