php-internal-docs 8.4.8
Unofficial docs for php/php-src
|
Public Member Functions | |
getDisplayName (bool $dst=false, int $style=IntlTimeZone::DISPLAY_LONG, ?string $locale=null) | |
getDSTSavings () | |
getErrorCode () | |
getErrorMessage () | |
getID () | |
getOffset (float $timestamp, bool $local, &$rawOffset, &$dstOffset) | |
getRawOffset () | |
hasSameRules (IntlTimeZone $other) | |
toDateTimeZone () | |
useDaylightTime () | |
Static Public Member Functions | |
static | countEquivalentIDs (string $timezoneId) |
static | createDefault () |
static | createEnumeration ($countryOrRawOffset=null) |
static | createTimeZone (string $timezoneId) |
static | createTimeZoneIDEnumeration (int $type, ?string $region=null, ?int $rawOffset=null) |
static | fromDateTimeZone (DateTimeZone $timezone) |
static | getCanonicalID (string $timezoneId, &$isSystemId=null) |
static | getEquivalentID (string $timezoneId, int $offset) |
static | getGMT () |
static | getIanaID (string $timezoneId) |
static | getRegion (string $timezoneId) |
static | getTZDataVersion () |
static | getUnknown () |
static | getWindowsID (string $timezoneId) |
static | getIDForWindowsID (string $timezoneId, ?string $region=null) |
Data Fields | |
const int | DISPLAY_SHORT = UNKNOWN |
const int | DISPLAY_LONG = UNKNOWN |
const int | DISPLAY_SHORT_GENERIC = UNKNOWN |
const int | DISPLAY_LONG_GENERIC = UNKNOWN |
const int | DISPLAY_SHORT_GMT = UNKNOWN |
const int | DISPLAY_LONG_GMT = UNKNOWN |
const int | DISPLAY_SHORT_COMMONLY_USED = UNKNOWN |
const int | DISPLAY_GENERIC_LOCATION = UNKNOWN |
const int | TYPE_ANY = UNKNOWN |
const int | TYPE_CANONICAL = UNKNOWN |
const int | TYPE_CANONICAL_LOCATION = UNKNOWN |
@generate-class-entries @not-serializable
Definition at line 6 of file timezone.stub.php.
|
static |
@tentative-return-type @alias intltz_count_equivalent_ids
Definition at line 39 of file timezone.stub.php.
|
static |
@tentative-return-type @alias intltz_create_default
Definition at line 45 of file timezone.stub.php.
|
static |
IntlTimeZone | string | int | float | null | $countryOrRawOffset | @tentative-return-type @alias intltz_create_enumeration |
Definition at line 52 of file timezone.stub.php.
|
static |
@tentative-return-type @alias intltz_create_time_zone
Definition at line 58 of file timezone.stub.php.
|
static |
@tentative-return-type @alias intltz_create_time_zone_id_enumeration
Definition at line 64 of file timezone.stub.php.
|
static |
@tentative-return-type @alias intltz_from_date_time_zone
Definition at line 70 of file timezone.stub.php.
|
static |
bool | $isSystemId | @tentative-return-type @alias intltz_get_canonical_id |
Definition at line 77 of file timezone.stub.php.
IntlTimeZone::getDisplayName | ( | bool | $dst = false, |
int | $style = IntlTimeZone::DISPLAY_LONG, | ||
?string | $locale = null ) |
@tentative-return-type @alias intltz_get_display_name
Definition at line 83 of file timezone.stub.php.
IntlTimeZone::getDSTSavings | ( | ) |
@tentative-return-type @alias intltz_get_dst_savings
Definition at line 89 of file timezone.stub.php.
|
static |
@tentative-return-type @alias intltz_get_equivalent_id
Definition at line 95 of file timezone.stub.php.
IntlTimeZone::getErrorCode | ( | ) |
@tentative-return-type @alias intltz_get_error_code
Definition at line 101 of file timezone.stub.php.
IntlTimeZone::getErrorMessage | ( | ) |
@tentative-return-type @alias intltz_get_error_message
Definition at line 107 of file timezone.stub.php.
|
static |
@tentative-return-type @alias intltz_get_gmt
Definition at line 113 of file timezone.stub.php.
|
static |
@alias intltz_get_iana_id
Definition at line 119 of file timezone.stub.php.
IntlTimeZone::getID | ( | ) |
@tentative-return-type @alias intltz_get_id
Definition at line 126 of file timezone.stub.php.
|
static |
@tentative-return-type @alias intltz_get_id_for_windows_id
Definition at line 171 of file timezone.stub.php.
IntlTimeZone::getOffset | ( | float | $timestamp, |
bool | $local, | ||
& | $rawOffset, | ||
& | $dstOffset ) |
int | $rawOffset | |
int | $dstOffset | @tentative-return-type @alias intltz_get_offset |
Definition at line 134 of file timezone.stub.php.
IntlTimeZone::getRawOffset | ( | ) |
@tentative-return-type @alias intltz_get_raw_offset
Definition at line 140 of file timezone.stub.php.
|
static |
@tentative-return-type @alias intltz_get_region
Definition at line 146 of file timezone.stub.php.
|
static |
@tentative-return-type @alias intltz_get_tz_data_version
Definition at line 152 of file timezone.stub.php.
|
static |
@tentative-return-type @alias intltz_get_unknown
Definition at line 158 of file timezone.stub.php.
|
static |
@tentative-return-type @alias intltz_get_windows_id
Definition at line 165 of file timezone.stub.php.
IntlTimeZone::hasSameRules | ( | IntlTimeZone | $other | ) |
@tentative-return-type @alias intltz_has_same_rules
Definition at line 177 of file timezone.stub.php.
IntlTimeZone::toDateTimeZone | ( | ) |
@tentative-return-type @alias intltz_to_date_time_zone
Definition at line 183 of file timezone.stub.php.
IntlTimeZone::useDaylightTime | ( | ) |
@tentative-return-type @alias intltz_use_daylight_time
Definition at line 189 of file timezone.stub.php.
const int IntlTimeZone::DISPLAY_GENERIC_LOCATION = UNKNOWN |
@cvalue TimeZone::GENERIC_LOCATION
Definition at line 24 of file timezone.stub.php.
const int IntlTimeZone::DISPLAY_LONG = UNKNOWN |
@cvalue TimeZone::LONG
Definition at line 11 of file timezone.stub.php.
const int IntlTimeZone::DISPLAY_LONG_GENERIC = UNKNOWN |
@cvalue TimeZone::LONG_GENERIC
Definition at line 16 of file timezone.stub.php.
const int IntlTimeZone::DISPLAY_LONG_GMT = UNKNOWN |
@cvalue TimeZone::LONG_GMT
Definition at line 20 of file timezone.stub.php.
const int IntlTimeZone::DISPLAY_SHORT = UNKNOWN |
@cvalue TimeZone::SHORT
Definition at line 9 of file timezone.stub.php.
const int IntlTimeZone::DISPLAY_SHORT_COMMONLY_USED = UNKNOWN |
@cvalue TimeZone::SHORT_COMMONLY_USED
Definition at line 22 of file timezone.stub.php.
const int IntlTimeZone::DISPLAY_SHORT_GENERIC = UNKNOWN |
@cvalue TimeZone::SHORT_GENERIC
Definition at line 14 of file timezone.stub.php.
const int IntlTimeZone::DISPLAY_SHORT_GMT = UNKNOWN |
@cvalue TimeZone::SHORT_GMT
Definition at line 18 of file timezone.stub.php.
const int IntlTimeZone::TYPE_ANY = UNKNOWN |
@cvalue UCAL_ZONE_TYPE_ANY
Definition at line 27 of file timezone.stub.php.
const int IntlTimeZone::TYPE_CANONICAL = UNKNOWN |
@cvalue UCAL_ZONE_TYPE_CANONICAL
Definition at line 29 of file timezone.stub.php.
const int IntlTimeZone::TYPE_CANONICAL_LOCATION = UNKNOWN |
@cvalue UCAL_ZONE_TYPE_CANONICAL_LOCATION
Definition at line 31 of file timezone.stub.php.