timezone_dst_offset_from Property

The UTC offset that is in use when the onset of this time zone observance begins.

Syntax

def get_timezone_dst_offset_from() -> str: ...
def set_timezone_dst_offset_from(value: str) -> None: ...

timezone_dst_offset_from = property(get_timezone_dst_offset_from, set_timezone_dst_offset_from)

Default Value

""

Remarks

The UTC offset that is in use when the onset of this time zone observance begins. timezone_dst_offset_from is combined with timezone_dst_start to define the effective onset for the daylight-time time zone definition.

timezone_dst_start, timezone_dst_offset_from, and timezone_dst_offset_to are all required to specify the daylight-savings time zone.

The following example shows the CalTimezone set to Eastern time.

  CalDAV.Timezone.TimezoneId      = "US-Eastern";
  CalDAV.Timezone.URL             = "http://zones.example.com/tz/America-New_York.ics"

  CalDAV.Timezone.StdName         = "Eastern Standard Time (US & Canada)";
  CalDAV.Timezone.StdStart        = "20071104T020000";
  CalDAV.Timezone.StdOffsetFrom   = "-400";
  CalDAV.Timezone.StdOffsetTo     = "-500";
  CalDAV.Timezone.StdRule         = "FREQ=YEARLY;BYDAY=1SU;BYMONTH=11";

  CalDAV.TimeZone.DSTName         = "Eastern Daylight Time (US & Canada)";
  CalDAV.TimeZone.DSTStart        = "20070311T020000";  
  CalDAV.TimeZone.DSTOffsetFrom   = "-500";
  CalDAV.TimeZone.DSTOffsetTo     = "-400";
  CalDAV.TimeZone.DSTRule         = "FREQ=YEARLY;BYDAY=2SU;BYMONTH=3";

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 Python Edition - Version 20.0 [Build 8307]