timezoneId property

String? timezoneId

Retrieves the global timezone ID like America/New_York or Europe/Berlin of this calendar.

When no X-WR-TIMEZONE property is found, then a VTimezone child is searched and the ID is retrieved from there, if present. Any dates of subsequent components without explicit timezoneId should be interpreted according to this timezone ID. For caveats compare https://blog.jonudell.net/2011/10/17/x-wr-timezone-considered-harmful/

Implementation

String? get timezoneId =>
    getProperty<TextProperty>(TextProperty.propertyNameXWrTimezone)
        ?.textValue ??
    timezone?.timezoneId;
void timezoneId=(String? value)

Sets the X-WR-TIMEZONE property

Implementation

set timezoneId(String? value) => setOrRemoveProperty(
    TextProperty.propertyNameXWrTimezone,
    TextProperty.create(TextProperty.propertyNameXWrTimezone, value));