protected static class ICalPropertyScribe.DateParser extends Object
Constructor and Description |
---|
ICalPropertyScribe.DateParser(String value)
Creates a new date writer object.
|
Modifier and Type | Method and Description |
---|---|
ICalPropertyScribe.DateParser |
hasTime(Boolean hasTime)
Forces the value to be parsed as a date-time or date value.
|
ICalDate |
parse()
Parses the date string.
|
public ICalPropertyScribe.DateParser(String value)
value
- the date string to parsepublic ICalPropertyScribe.DateParser hasTime(Boolean hasTime)
hasTime
- true to parsed as a date-timme value, false to parse
as a date value, null to parse as whatever value it is (defaults to
null)public ICalDate parse()
IllegalArgumentException
- if the date string is invalidCopyright © 2013-2015 Michael Angstadt. All Rights Reserved.