Namespace om

Classes
EventsList

Copyright (c) Roman Ožana (https://ozana.cz)

Freq

Timestamp based access to a recurrence set (RRULE plus RDATE, minus EXDATE). Wall-clock calculations use the process default timezone, as in previous versions. The recurrence engine itself lives in Expander . Originally based on https://github.com/coopTilleuls/intouch-iCalendar.git (Freq.php) by Morten Fangel (C) 2008 and Michael Kahn (C) 2013, CC-BY-SA-DK.

ICal

Entry point of the iCalendar (RFC 5545) API. $calendar = ICal::parse($ics); foreach ($calendar->events() as $event) { foreach ($event->occurrencesBetween($from, $to) as $occurrence) { ... } } The permissive parser is used; see ICal::parser() for strict parsing, limits and warnings.

IcalParser

iCalendar (RFC 5545) parser producing PHP arrays. Copyright (c) Roman Ožana (https://ozana.cz)

ParserOptions

Configuration of IcalParser .

Recurrence

Class taken from https://github.com/coopTilleuls/intouch-iCalendar.git (Recurrence.php) A wrapper for recurrence rules in iCalendar. Parses the given line and puts the recurrence rules in the correct field of this object. See http://tools.ietf.org/html/rfc2445 for more information. Page 39 and onward contains more information on the recurrence rules themselves. Page 116 and onward contains some great examples which were often used for testing.

TimezoneGuesser

Finds a PHP timezone for a custom VTIMEZONE definition (RFC 5545, section 3.6.5). PHP cannot create a timezone from custom rules, so the transitions defined by the STANDARD and DAYLIGHT observances are calculated for the years around the reference date and compared with the transitions of the IANA timezones. A definition without transitions becomes a fixed UTC offset. The first matching timezone is returned, zones used by the Windows mapping are preferred.

Namespaces
om\ICal
om\RRule