public class Until extends RRuleElementBase<java.time.temporal.Temporal,Until>
UNTIL: RFC 5545 iCalendar 3.3.10, page 41
The UNTIL rule part defines a DATE or DATE-TIME value that bounds the recurrence rule in an inclusive manner. If the value specified by UNTIL is synchronized with the specified recurrence, this DATE or DATE-TIME becomes the last instance of the recurrence. The value of the UNTIL rule part MUST have the same value type as the "DTSTART" property. Furthermore, if the "DTSTART" property is specified as a date with local time, then the UNTIL rule part MUST also be specified as a date with local time. If the "DTSTART" property is specified as a date with UTC time or a date with local time and time zone reference, then the UNTIL rule part MUST be specified as a date with UTC time. In the case of the "STANDARD" and "DAYLIGHT" sub-components the UNTIL rule part MUST always be specified as a date with UTC time. If specified as a DATE-TIME value, then it MUST be specified in a UTC time format. If not present, and the COUNT rule part is also not present, the "RRULE" is considered to repeat forever
valueProperty
Constructor and Description |
---|
Until() |
Until(java.time.temporal.Temporal until) |
Until(Until source) |
Modifier and Type | Method and Description |
---|---|
static Until |
parse(java.lang.String content) |
java.util.List<java.lang.String> |
parseContent(java.lang.String content)
Parse content line into calendar element.
|
java.lang.String |
toContent()
return element name-value pair string separated by an "="
for example:
FREQ=DAILY
|
elementType, equals, errors, getParent, getValue, hashCode, name, setParent, setValue, toString, valueProperty, withValue
public Until(java.time.temporal.Temporal until)
public Until()
public Until(Until source)
public java.lang.String toContent()
RRuleElement
return element name-value pair string separated by an "=" for example: FREQ=DAILY
public java.util.List<java.lang.String> parseContent(java.lang.String content)
VElement
Parse content line into calendar element.
If element contains children VElement.parseContent(String)
is invoked recursively to parse child elements also
content
- calendar content string to parsepublic static Until parse(java.lang.String content)