Class Horde_Kolab_Resource_Epoch

Description

Handles Date conversion for the resource handler.

Copyright 2004-2010 Klarälvdalens Datakonsult AB

See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.

Located in /Kolab_Resource/lib/Horde/Kolab/Resource/Epoch.php (line 31)


	
			
Method Summary
 Horde_Kolab_Resource_Epoch __construct (mixed $date)
 void getEpoch ()
 string iCalDate2Kolab ([string $type = ' '], array $ical_date)
Methods
Constructor __construct (line 46)

Constructor.

  • access: public
Horde_Kolab_Resource_Epoch __construct (mixed $date)
  • mixed $date: The date to be converted.
getEpoch (line 100)
  • access: public
void getEpoch ()
iCalDate2Kolab (line 117)

Convert iCal dates to Kolab format.

An all day event must have a dd--mm-yyyy notation and not a yyyy-dd-mmT00:00:00z notation Otherwise the event is shown as a 2-day event --> do not try to convert everything to epoch first

  • return: The converted date.
string iCalDate2Kolab ([string $type = ' '], array $ical_date)
  • array $ical_date: The array to convert.
  • string $type: The type of the date to convert.

Documentation generated on Sun, 30 Jan 2011 05:17:09 +0000 by phpDocumentor 1.4.3