DateTimeProperty class

Inheritance

Constructors

DateTimeProperty(String definition)

Properties

dateTime DateTime
no setter
definition String
Full property content, e.g. DTSTAMP;TZID=America/New_York:19970610T172345Z
finalinherited
hashCode int
The hash code for this object.
no setterinherited
name String
Name of the property, e.g. DTSTAMP
finalinherited
parameters Map<String, Parameter>
Additional parameters for this property, e.g. `{'TZID' : TextValueType('America/New_York')}}
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
textValue String
Value of the property, e.g. 19970610T172345Z
finalinherited
timezoneId String?
Retrieves the timezone ID like America/New_York or Europe/Berlin from the TZID parameter.
getter/setter pair
value ↔ dynamic
The value of this property
getter/setter pairinherited

Methods

copy() Property
Creates a copy of this property
inherited
getParameterValue<T>(ParameterType type) → T?
Retrieves the parameter value for type
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parse(String textValue) → dynamic
Parses this property.
inherited
render(StringBuffer buffer) → void
Renders this parameter into the given buffer without folding / wrapping lines and without CRLF at the end.
inherited
setOrRemoveParameter(ParameterType type, Parameter? value) → void
Sets the parameter when value is not null and removes the parameter when value is null.
inherited
setParameter(Parameter value) → void
Sets the parameter value
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited
operator [](ParameterType type) Parameter?
Retrieves the parameter with the given type
inherited
operator []=(ParameterType type, Parameter value) → void
Sets the parameter value for the given type
inherited

Static Methods

create(String name, DateTime? value, {String? timeZoneId}) DateTimeProperty?

Constants

propertyNameCompleted → const String
COMPLETED
propertyNameCreated → const String
CREATED
propertyNameDue → const String
DUE
propertyNameEnd → const String
DTEND
propertyNameLastModified → const String
LAST-MODIFIED
propertyNameRecurrenceId → const String
RECURRENCE-ID
propertyNameStart → const String
DTSTART
propertyNameTimeStamp → const String
DTSTAMP