public class Available extends Component
availablec = "BEGIN" ":" "AVAILABLE" CRLF
availableprop
"END" ":" "AVAILABLE" CRLF
availableprop = *(
; the following are REQUIRED,
; but MUST NOT occur more than once
dtstamp / dtstart / uid /
; either a 'dtend' or a 'duration' is required
; in a 'availableprop', but 'dtend' and
; 'duration' MUST NOT occur in the same
; 'availableprop', and each MUST NOT occur more
; than once
dtend / duration /
; the following are OPTIONAL,
; but MUST NOT occur more than once
created / last-mod / recurid / rrule /
summary /
; the following are OPTIONAL,
; and MAY occur more than once
categories / comment / contact / exdate /
rdate / x-prop
)
| Modifier and Type | Class and Description |
|---|---|
static class |
Available.Factory |
| Constructor and Description |
|---|
Available()
Default constructor.
|
Available(PropertyList properties)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
validate(boolean recurse)
Perform validation on a component.
|
calculateRecurrenceSet, copy, equals, getName, getProperties, getProperties, getProperty, getRequiredProperty, hashCode, toString, validate, validatePropertiespublic Available()
public Available(PropertyList properties)
properties - a list of propertiespublic final void validate(boolean recurse)
throws ValidationException
validate in class Componentrecurse - indicates whether to validate the component's propertiesValidationException - where the component is not in a valid state