java.lang.Object
jfxtras.icalendarfx.VElementBase
jfxtras.icalendarfx.VParentBase<U>
jfxtras.icalendarfx.properties.VPropertyBase<List<Pair<ZonedDateTime,TemporalAmount>>,FreeBusyTime>
jfxtras.icalendarfx.properties.component.time.FreeBusyTime
- All Implemented Interfaces:
PropFreeBusy<List<Pair<ZonedDateTime,
,TemporalAmount>>> VProperty<List<Pair<ZonedDateTime,
,TemporalAmount>>> VChild
,VElement
,VParent
public class FreeBusyTime
extends VPropertyBase<List<Pair<ZonedDateTime,TemporalAmount>>,FreeBusyTime>
implements PropFreeBusy<List<Pair<ZonedDateTime,TemporalAmount>>>
FREEBUSY
Free/Busy Time
RFC 5545, 3.8.2.6, page 100
This property defines one or more free or busy time intervals.
These time periods can be specified as either a start
and end DATE-TIME or a start DATE-TIME and DURATION. The date and
time MUST be a UTC time format. Internally, the values are stored only as
start DATE-TIME and DURATION. Any values entered as start and end as both
DATE-TIME are converted to the start DATE-TIME and DURATION.
Examples:
FREEBUSY;FBTYPE=BUSY-UNAVAILABLE:19970308T160000Z/PT8H30M
FREEBUSY;FBTYPE=FREE:19970308T160000Z/PT3H,19970308T200000Z/PT1H
,19970308T230000Z/19970309T000000Z
Note: The above example is converted and outputed as the following:
FREEBUSY;FBTYPE=FREE:19970308T160000Z/PT3H,19970308T200000Z/PT1H
,19970308T230000Z/PT1H
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class jfxtras.icalendarfx.VElementBase
VElementBase.Message, VElementBase.MessageEffect
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringConverter<List<Pair<ZonedDateTime,
TemporalAmount>>> private FreeBusyType
Fields inherited from class jfxtras.icalendarfx.properties.VPropertyBase
actualValueContent, allowedValueTypes, defaultValueType, propertyName
Fields inherited from class jfxtras.icalendarfx.VParentBase
contentLineGenerator, orderer
Fields inherited from class jfxtras.icalendarfx.VElementBase
BEGIN, END
-
Constructor Summary
ConstructorsConstructorDescriptionFreeBusyTime
(List<Pair<ZonedDateTime, TemporalAmount>> values) FreeBusyTime
(FreeBusyTime source) -
Method Summary
Modifier and TypeMethodDescriptionFBTYPE: Incline Free/Busy Time Type RFC 5545, 3.2.9, page 20 To specify the free or busy time type.static FreeBusyTime
void
setFreeBusyType
(FreeBusyType freeBusyType) void
withFreeBusyType
(String freeBusyType) withFreeBusyType
(FreeBusyType freeBusyType) Methods inherited from class jfxtras.icalendarfx.properties.VPropertyBase
copyValue, equals, errors, getConverter, getNonStandard, getParent, getUnknownValue, getValue, getValueType, hashCode, modifiedValue, name, parseContent, processInLineChild, setConverter, setConverterByClass, setNonStandard, setParent, setValue, setValueType, setValueType, toString, valueContent, withNonStandard, withNonStandard, withNonStandard, withValue, withValueType
Methods inherited from class jfxtras.icalendarfx.VParentBase
addChild, addChild, addChild, addChildInternal, checkChild, childrenUnmodifiable, collectGetterMap, collectSetterMap, copyChildrenInto, getGetter, getGetters, getSetter, getSetters, orderChild, orderChild, orderChild, parseContent, removeChild, removeChild, replaceChild, replaceChild, withChild
Methods inherited from class jfxtras.icalendarfx.VElementBase
elementName, isContentValid, newEmptyVElement, parse, throwMessageExceptions
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface jfxtras.icalendarfx.VParent
addChild, addChild, addChild, childrenUnmodifiable, orderChild, orderChild, orderChild, removeChild, removeChild, replaceChild, replaceChild
Methods inherited from interface jfxtras.icalendarfx.properties.VProperty
getNonStandard, getValue, getValueType, setNonStandard, setValue, setValueType
-
Field Details
-
CONVERTER
-
freeBusyType
-
-
Constructor Details
-
FreeBusyTime
-
FreeBusyTime
-
FreeBusyTime
public FreeBusyTime()
-
-
Method Details
-
getFreeBusyType
FBTYPE: Incline Free/Busy Time Type RFC 5545, 3.2.9, page 20 To specify the free or busy time type. Values can be = "FBTYPE" "=" ("FREE" / "BUSY" / "BUSY-UNAVAILABLE" / "BUSY-TENTATIVE"- Specified by:
getFreeBusyType
in interfacePropFreeBusy<List<Pair<ZonedDateTime,
TemporalAmount>>>
-
setFreeBusyType
- Specified by:
setFreeBusyType
in interfacePropFreeBusy<List<Pair<ZonedDateTime,
TemporalAmount>>>
-
setFreeBusyType
-
withFreeBusyType
-
withFreeBusyType
-
withFreeBusyType
-
parse
-