Class Horde_Kolab_Format_Date
Kolab date handling functions. Based upon Kolab.php from Stuart Binge.
Copyright 2004-2012 Horde LLC (http://www.horde.org/)
See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Category: Kolab
License: LGPL
Author: Stuart Binge omicron@mighty.co.za
Author: Thomas Jarosch thomas.jarosch@intra2net.com
Link: http://www.horde.org/libraries/Horde_Kolab_Format
Located at Horde/Kolab/Format/Date.php
public static
integer
|
#
decodeDate( string $date )
Returns a UNIX timestamp corresponding the given date string which is in the format prescribed by the Kolab Format Specification. |
public static
integer
|
#
decodeDateTime( string $datetime )
Returns a UNIX timestamp corresponding the given date-time string which is in the format prescribed by the Kolab Format Specification. |
public static
integer
|
#
decodeDateOrDateTime( string $date )
Returns a UNIX timestamp corresponding the given date or date-time string which is in either format prescribed by the Kolab Format Specification. |
public static
string
|
#
encodeDate( integer $date = false )
Returns a string containing the current UTC date in the format prescribed by the Kolab Format Specification. |
public static
string
|
#
encodeDateTime( integer $datetime = false )
Returns a string containing the current UTC date and time in the format prescribed by the Kolab Format Specification. |
public static
DateTime
|
|
public static
DateTime
|
|
public static
DateTime
|
#
readDateTime( string $date_time, string $timezone )
Parse the provided string into a PHP DateTime object. |
public static
string
|
#
writeUtcDateTime( DateTime $date_time )
Write the provided PHP DateTime object into a Kolab format UTC date-time representation. |
public static
string
|
#
writeDateTime( DateTime $date_time )
Write the provided PHP DateTime object into a Kolab format date-time representation. |
public static
string
|