Class Horde_ActiveSync_Timezone
Utility functions for dealing with Microsoft ActiveSync's Timezone format.
Copyright 2009-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.
Code dealing with searching for a timezone identifier from an AS timezone blob inspired by code in the Tine20 Project (http://tine20.org).
Package: ActiveSync
Category: Horde
Author: Michael J. Rubinsky mrubinsk@horde.org
Located at Horde/ActiveSync/Timezone.php
Category: Horde
Author: Michael J. Rubinsky mrubinsk@horde.org
Located at Horde/ActiveSync/Timezone.php
public static
array
|
#
getOffsetsFromSyncTZ( base64 $data )
Convert a timezone from the ActiveSync base64 structure to a TZ offset hash. |
public static
string
|
|
public static
|
#
getOffsetsFromDate( Horde_Date $date )
Create a offset hash suitable for use in ActiveSync transactions |
public
array
|
#
getTimezone( array|string $offsets, string $expectedTimezone = null )
Attempt to guess the timezone identifier from the $offsets array. |
public
array
|
#
getListOfTimezones( array|string $offsets, string $expectedTimezone = null )
Get the list of timezone identifiers that match the given offsets, having a preference for $expectedTimezone if it's present in the results. |