Property | Type | Description | |
---|---|---|---|
$_info | array | Zone lines of this zone object. | |
$_name | string | The timezone ID. | |
$_tz | A Horde_Timezone object. |
Method | Description | |
---|---|---|
__construct ( string $name, Horde_Timezone $tz ) | Constructor. | |
add ( array $info ) | Adds a Zone line to this zone object. | |
setTzid ( string $name ) | Sets the timezone ID. | |
toVtimezone ( Horde_Date $from = null, Horde_Date $to = null ) : Horde_Icalendar_Vtimezone | Exports this zone to a VTIMEZONE component. |
Method | Description | |
---|---|---|
_getDate ( integer $line ) : Horde_Date | Calculates a date from the date columns of a Zone line. | |
_getOffset ( integer $line ) : array | Calculates an offset from the offset column of a Zone line. |
public __construct ( string $name, Horde_Timezone $tz ) | ||
$name | string | A timezone ID. |
$tz | Horde_Timezone | A Horde_Timezone object. Used to retrieve rules for this timezone. |
protected _getOffset ( integer $line ) : array | ||
$line | integer | A line number. |
return | array | A hash describing the offset. |
public toVtimezone ( Horde_Date $from = null, Horde_Date $to = null ) : Horde_Icalendar_Vtimezone | ||
$from | Horde_Date | The earliest date that we need timezone definitions for. |
$to | Horde_Date | The latest date. |
return | Horde_Icalendar_Vtimezone | A VTIMEZONE component representing this timezone. |