ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Time zone name translation. More...
Static Public Member Functions | |
static static | getTimeZone ($tzid, Component $vcalendar=null, $failIfUncertain=false) |
This method will try to find out the correct timezone for an iCalendar date-time value. More... | |
static | loadTzMaps () |
This method will load in all the tz mapping information, if it's not yet done. More... | |
static | getIdentifiersBC () |
This method returns an array of timezone identifiers, that are supported by DateTimeZone(), but not returned by DateTimeZone::listIdentifiers(). More... | |
Static Public Attributes | |
static | $map = null |
static | $microsoftExchangeMap |
List of microsoft exchange timezone ids. More... | |
Time zone name translation.
This file translates well-known time zone names into "Olson database" time zone names.
Definition at line 15 of file TimeZoneUtil.php.
|
static |
This method returns an array of timezone identifiers, that are supported by DateTimeZone(), but not returned by DateTimeZone::listIdentifiers().
We're not using DateTimeZone::listIdentifiers(DateTimeZone::ALL_WITH_BC) because:
Definition at line 272 of file TimeZoneUtil.php.
Referenced by Sabre\VObject\TimeZoneUtilTest\getPHPTimeZoneBCIdentifiers().
|
static |
This method will try to find out the correct timezone for an iCalendar date-time value.
You must pass the contents of the TZID parameter, as well as the full calendar.
If the lookup fails, this method will return the default PHP timezone (as configured using date_default_timezone_set, or the date.timezone ini setting).
Alternatively, if $failIfUncertain is set to true, it will throw an exception if we cannot accurately determine the timezone.
string | $tzid | |
Sabre\VObject\Component | $vcalendar |
Definition at line 125 of file TimeZoneUtil.php.
References $map.
Referenced by Sabre\VObject\Property\ICalendar\DateTime\getDateTimes(), Sabre\VObject\Component\VTimeZone\getTimeZone(), Sabre\VObject\TimeZoneUtilTest\testExchangeMap(), Sabre\VObject\TimeZoneUtilTest\testFallBack(), Sabre\VObject\TimeZoneUtilTest\testLjubljanaBug(), Sabre\VObject\TimeZoneUtilTest\testPrefixedOffsetExchangeIdentifier(), Sabre\VObject\TimeZoneUtilTest\testTimeZoneBCIdentifiers(), Sabre\VObject\TimeZoneUtilTest\testTimezoneFail(), Sabre\VObject\TimeZoneUtilTest\testTimeZoneIdentifiers(), Sabre\VObject\TimeZoneUtilTest\testTimezoneOffset(), Sabre\VObject\TimeZoneUtilTest\testUnknownExchangeId(), Sabre\VObject\TimeZoneUtilTest\testWeirdSystemVLICs(), Sabre\VObject\TimeZoneUtilTest\testWetherMicrosoftIsStillInsane(), and Sabre\VObject\TimeZoneUtilTest\testWindowsTimeZone().
|
static |
This method will load in all the tz mapping information, if it's not yet done.
Definition at line 248 of file TimeZoneUtil.php.
References $map.
Referenced by Sabre\VObject\TimeZoneUtilTest\getMapping().
|
static |
Definition at line 17 of file TimeZoneUtil.php.
Referenced by Sabre\VObject\TimeZoneUtilTest\getMapping().
|
static |
List of microsoft exchange timezone ids.
Source: http://msdn.microsoft.com/en-us/library/aa563018(loband).aspx
Definition at line 24 of file TimeZoneUtil.php.