public class DurationProp extends PropBaseLanguage<java.time.temporal.TemporalAmount,DurationProp>
DURATION RFC 5545, 3.8.2.5, page 99
This property specifies a positive duration of time.
When the "DURATION" property relates to a "DTSTART" property that is specified as a DATE value, then the "DURATION" property MUST be specified as a "dur-day" or "dur-week" value.
Based on ISO.8601.2004 (but Y and M for years and months is not supported by iCalendar)
Examples: DURATION:PT1H0M0S DURATION:PT15M DURATION:P1D
languageProperty
propertyNameProperty, valueProperty, valueTypeProperty
valueProperty, valueTypeProperty
Constructor and Description |
---|
DurationProp() |
DurationProp(DurationProp source) |
DurationProp(java.time.temporal.TemporalAmount value) |
Modifier and Type | Method and Description |
---|---|
static DurationProp |
parse(java.lang.String propertyContent) |
getLanguage, languageProperty, setLanguage, setLanguage, withLanguage, withLanguage
compareTo, copyInto, copyValue, equals, errors, getConverter, getNonStandard, getParent, getPropertyValueString, getUnknownValue, getValue, getValueType, hashCode, name, nonStandardParameter, parseContent, propertyNameProperty, propertyType, setConverter, setConverterByClass, setNonStandard, setParent, setPropertyName, setValue, setValueType, setValueType, setValueType, toContent, toString, valueContent, valueProperty, valueTypeProperty, withNonStandard, withNonStandard, withNonStandard, withPropertyName, withValue, withValueType, withValueType
childrenUnmodifiable, copyIntoCallback, orderer, setContentLineGenerator
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getNonStandard, getValue, getValueType, nonStandardParameter, propertyType, setNonStandard, setValue, setValueType, valueProperty, valueTypeProperty
childrenUnmodifiable, copyInto
public DurationProp(java.time.temporal.TemporalAmount value)
public DurationProp(DurationProp source)
public DurationProp()
public static DurationProp parse(java.lang.String propertyContent)