# booking-manager/2.0/assets/libs/icalendar/includes/framework.php

Booking Manager – Sync WP Booking Calendar – Import Events, Export Bookings to ICS Calendar, version 2.0. 25 lines.

- Page: https://pluginprobe.com/plugins/booking-manager/2.0/code/assets/libs/icalendar/includes/framework.php
- Raw: https://pluginprobe.com/plugins/booking-manager/2.0/raw/assets/libs/icalendar/includes/framework.php
- Modified: 2017-09-03T06:53:42+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/booking-manager/2.0/code/assets/libs/icalendar/includes/framework.php#L10-L20`.

```php
<?php

/**
 * @package      Zap Calendar Library Framework
 *
 * @copyright   Copyright (C) 2006 - 2016 by Dan Cogliano
 * @license      GNU General Public License version 2 or later; see LICENSE.txt
 *
 * For more information, visit https://github.com/zcontent/icalendar
 */

// No direct access
defined('_ZAPCAL') or die( 'Restricted access' );

// set MAXYEAR to 2036 for 32 bit systems, can be higher for 64 bit systems
define('_ZAPCAL_MAXYEAR', 2036);

// set MAXREVENTS to maximum #of repeating events
define('_ZAPCAL_MAXREVENTS', 5000);

require_once(_ZAPCAL_BASE . '/includes/date.php');
require_once(_ZAPCAL_BASE . '/includes/recurringdate.php');
require_once(_ZAPCAL_BASE . '/includes/ical.php');
require_once(_ZAPCAL_BASE . '/includes/timezone.php');

```
