getOffsetsFromSyncTZ() public static method

Convert a timezone from the MAPI base64 structure to a TZ offset hash.
public static getOffsetsFromSyncTZ ( $data ) : array
return array Hash of offset information
Example #1
0
 /**
  * Test building an Offset hash from a given ActiveSync style base64 encoded
  * timezone structure.
  */
 public function testOffsetsFromSyncTZ()
 {
     foreach ($this->_packed as $tz => $blob) {
         $offsets = Horde_Mapi_Timezone::getOffsetsFromSyncTZ($blob);
         foreach ($this->_offsets[$tz] as $key => $value) {
             $this->assertEquals($value, $offsets[$key]);
         }
     }
 }