mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-12 17:50:42 +01:00
79 lines
1.5 KiB
PHP
79 lines
1.5 KiB
PHP
|
<?php
|
||
|
/**
|
||
|
* Class representing vTimezones.
|
||
|
*
|
||
|
* $Horde: framework/iCalendar/iCalendar/vtimezone.php,v 1.8 2004/08/13 19:11:35 karsten Exp $
|
||
|
*
|
||
|
* Copyright 2003-2004 Mike Cochrane <mike@graftonhall.co.nz>
|
||
|
*
|
||
|
* See the enclosed file COPYING for license information (LGPL). If you
|
||
|
* did not receive this file, see http://www.fsf.org/copyleft/lgpl.html.
|
||
|
*
|
||
|
* @author Mike Cochrane <mike@graftonhall.co.nz>
|
||
|
* @version $Revision$
|
||
|
* @since Horde 3.0
|
||
|
* @package Horde_iCalendar
|
||
|
*/
|
||
|
class Horde_iCalendar_vtimezone extends Horde_iCalendar {
|
||
|
|
||
|
function getType()
|
||
|
{
|
||
|
return 'vTimeZone';
|
||
|
}
|
||
|
|
||
|
function parsevCalendar($data)
|
||
|
{
|
||
|
parent::parsevCalendar($data, 'VTIMEZONE');
|
||
|
}
|
||
|
|
||
|
function exportvCalendar()
|
||
|
{
|
||
|
return parent::_exportvData('VTIMEZONE');
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* @package Horde_iCalendar
|
||
|
*/
|
||
|
class Horde_iCalendar_standard extends Horde_iCalendar {
|
||
|
|
||
|
function getType()
|
||
|
{
|
||
|
return 'standard';
|
||
|
}
|
||
|
|
||
|
function parsevCalendar($data)
|
||
|
{
|
||
|
parent::parsevCalendar($data, 'STANDARD');
|
||
|
}
|
||
|
|
||
|
function exportvCalendar()
|
||
|
{
|
||
|
return parent::_exportvData('STANDARD');
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* @package Horde_iCalendar
|
||
|
*/
|
||
|
class Horde_iCalendar_daylight extends Horde_iCalendar {
|
||
|
|
||
|
function getType()
|
||
|
{
|
||
|
return 'daylight';
|
||
|
}
|
||
|
|
||
|
function parsevCalendar($data)
|
||
|
{
|
||
|
parent::parsevCalendar($data, 'DAYLIGHT');
|
||
|
}
|
||
|
|
||
|
function exportvCalendar()
|
||
|
{
|
||
|
return parent::_exportvData('DAYLIGHT');
|
||
|
}
|
||
|
|
||
|
}
|