update : 2015.11.03
php.shukuma.com
|
The DateTimeZone class
The DateTimeZone class
(PHP 5 >= 5.2.0, PHP 7)
소개
Representation of time zone.
클래스 개요
DateTimeZone
{
const
integer
ASIA
= 16
;
const
integer
UTC
= 1024
;
const
integer
ALL
= 2047
;
public array getTransitions
([ int $timestamp_begin
[, int $timestamp_end
]] )
public static array listIdentifiers
([ int $what = DateTimeZone::ALL
[, string $country = NULL
]] )
}
예약 상수
DateTimeZone::AFRICA
-
Africa time zones.
DateTimeZone::AMERICA
-
America time zones.
DateTimeZone::ANTARCTICA
-
Antarctica time zones.
DateTimeZone::ARCTIC
-
Arctic time zones.
DateTimeZone::ASIA
-
Asia time zones.
DateTimeZone::ATLANTIC
-
Atlantic time zones.
DateTimeZone::AUSTRALIA
-
Australia time zones.
DateTimeZone::EUROPE
-
Europe time zones.
DateTimeZone::INDIAN
-
Indian time zones.
DateTimeZone::PACIFIC
-
Pacific time zones.
DateTimeZone::UTC
-
UTC time zones.
DateTimeZone::ALL
-
All time zones.
DateTimeZone::ALL_WITH_BC
-
All time zones including backwards compatible.
DateTimeZone::PER_COUNTRY
-
Time zones per country.
Table of Contents
|
|