Copied!

Zap Calendar Time Zone Helper Class

Class to help create timezone section of iCalendar file

CloneableInstantiable
Methods
public static getTZNode(int $startyear, int $endyear, string $tzid, ?ICalendarOrg\ZCiCalNode $parentnode) : ICalendarOrg\ZCiCalNode
 

getTZNode creates VTIMEZONE section in an iCalendar file

  • param int $startyear int start year of date range
  • param int $endyear int end year of date range
  • param string $tzid string PHP timezone, use underscore for multiple words (i.e. 'New_York' for 'New York')
  • param mixed $parentnode object iCalendar object where VTIMEZONE will be created
  • return \ICalendarOrg\ZCiCalNode VTIMEZONE object
Methods
public static getTZNode(int $startyear, int $endyear, string $tzid, ?ICalendarOrg\ZCiCalNode $parentnode) : ICalendarOrg\ZCiCalNode
 

getTZNode creates VTIMEZONE section in an iCalendar file

  • param int $startyear int start year of date range
  • param int $endyear int end year of date range
  • param string $tzid string PHP timezone, use underscore for multiple words (i.e. 'New_York' for 'New York')
  • param mixed $parentnode object iCalendar object where VTIMEZONE will be created
  • return \ICalendarOrg\ZCiCalNode VTIMEZONE object
© 2024 Bruce Wells
Search Namespaces \ Classes
Configuration