Convert a timezone from the MAPI base64 structure to a TZ offset
hash.
public static getOffsetsFromSyncTZ ( $data ) : array | ||
Результат | array | Hash of offset information |
/** * 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]); } } }