VTimezonePhase class

Contains the standard or daylight timezone subcomponent

Inheritance

Constructors

VTimezonePhase(String componentName, {required VTimezone parent})

Properties

additionalRecurrenceDates List<DateTimeOrDuration>?
Retrieves additional reccurrence dates or durations as defined in the RDATE property
getter/setter pair
canReply bool
Checks if this component can reply in its current state
no setterinherited
children List<VComponent>
The children of this component, empty when there a no children
finalinherited
comment String?
Retrieves the comment
getter/setter pair
componentType VComponentType
The type of the component, convenient for switch cases
finalinherited
excludingRecurrenceDates List<DateTimeOrDuration>?
Retrieves excluding reccurrence dates or durations as defined in the EXDATE property
getter/setter pair
from UtcOffset
Gets the UTC offset before this phase
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isVersion2 bool
Checks if this version is 2.0, which is assumed to be true unless a different version is specified.
no setterinherited
name String
The name of the component like VEVENT or VCALENDAR
finalinherited
parent VComponent?
The parent component, if any
finalinherited
productId String?
Retrieves the product identifier that generated this iCalendar object
getter/setter pairinherited
properties List<Property>
The properties of the component
finalinherited
recurrenceRule Recurrence?
Retrieves the recurrence rule of this event
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
start DateTime
Gets the start datetime of this phase
getter/setter pair
timezoneName String?
Retrieves the (first) name of the timezone
getter/setter pair
to UtcOffset
Gets the UTC offset during this phase
getter/setter pair
version String?
Gets the version of this calendar, typically 2.0
getter/setter pairinherited

Methods

checkMandatoryProperty(String name) → void
Checks if the property with the given name is present.
inherited
checkValidity() → void
Classes can implement this to check the validity.
override
copy() VComponent
Copies this component
inherited
findProperties(String propertyName) Iterable<Property>
Retrieves all properties with the name propertyName
inherited
getProperties<T extends Property>(String propertyName) Iterable<T>
Retrieves all matching properties with the name propertyName.
inherited
getProperty<T extends Property>(String propertyName) → T?
Retrieves the property with the propertyName
inherited
instantiate({VComponent? parent}) VComponent
Creates a new instance of this component
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeProperty(String propertyName) → void
Removes all properties with the specified propertyName
inherited
render(StringBuffer buffer) → void
inherited
reply(AttendeeProperty attendee, {VComponent? parent, String? comment}) VComponent
Creates a reply for this component.
inherited
setOrRemoveProperties(String propertyName, List<Property>? props) → void
Sets or removes the given props with the given propertyName
inherited
setOrRemoveProperty(String propertyName, Property? property) → void
Sets the given property when it is not null and otherwise removes the property with the given propertyName.
inherited
setProperties(String propertyName, List<Property> props) → void
Sets the given props by first removing any properties with the given propertyName.
inherited
setProperty(Property property) → void
Sets the property property, replacing other properties with the property.name first.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited
operator [](String propertyName) Property?
Retrieves the first property with the name propertyName
inherited
operator []=(String propertyName, Property property) → void
Sets the property property, replacing other properties with the given propertyName first.
inherited