Class FreeBusyTime
java.lang.Object
jfxtras.icalendarfx.VElementBase
jfxtras.icalendarfx.VParentBase<FreeBusyTime>
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 VElementBase
VElementBase.Message, VElementBase.MessageEffect -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringConverter<List<Pair<ZonedDateTime, TemporalAmount>>> private FreeBusyTypeFields inherited from class VPropertyBase
actualValueContent, allowedValueTypes, defaultValueType, propertyNameFields inherited from class VParentBase
contentLineGenerator, ordererFields inherited from class 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 FreeBusyTimevoidsetFreeBusyType(FreeBusyType freeBusyType) voidwithFreeBusyType(String freeBusyType) withFreeBusyType(FreeBusyType freeBusyType) Methods inherited from class 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, withValueTypeMethods inherited from class VParentBase
addChild, addChild, addChild, addChildInternal, checkChild, childrenUnmodifiable, collectGetterMap, collectSetterMap, copyChildrenInto, getGetter, getGetters, getSetter, getSetters, orderChild, orderChild, orderChild, parseContent, removeChild, removeChild, replaceChild, replaceChild, withChildMethods inherited from class VElementBase
elementName, isContentValid, newEmptyVElement, parse, throwMessageExceptionsMethods inherited from interface VParent
addChild, addChild, addChild, childrenUnmodifiable, orderChild, orderChild, orderChild, removeChild, removeChild, replaceChild, replaceChildMethods inherited from interface 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:
getFreeBusyTypein interfacePropFreeBusy<List<Pair<ZonedDateTime, TemporalAmount>>>
-
setFreeBusyType
- Specified by:
setFreeBusyTypein interfacePropFreeBusy<List<Pair<ZonedDateTime, TemporalAmount>>>
-
setFreeBusyType
-
withFreeBusyType
-
withFreeBusyType
-
withFreeBusyType
-
parse
-