|
The DateTimeZone classIntroductionRepresentation of time zone. Class synopsis
DateTimeZone
/* Constants */
public
const
int
DateTimeZone::AFRICA;
public
const
int
DateTimeZone::AMERICA;
public
const
int
DateTimeZone::ANTARCTICA;
public
const
int
DateTimeZone::ARCTIC;
public
const
int
DateTimeZone::ASIA;
public
const
int
DateTimeZone::ATLANTIC;
public
const
int
DateTimeZone::AUSTRALIA;
public
const
int
DateTimeZone::EUROPE;
public
const
int
DateTimeZone::INDIAN;
public
const
int
DateTimeZone::PACIFIC;
public
const
int
DateTimeZone::UTC;
public
const
int
DateTimeZone::ALL;
public
const
int
DateTimeZone::ALL_WITH_BC;
public
const
int
DateTimeZone::PER_COUNTRY;
/* Methods */
public __construct(string
$timezone )public arrayfalse getLocation()
public string getName()
public int getOffset(DateTimeInterface
$datetime )public arrayfalse getTransitions(int
$timestampBegin = PHP_INT_MIN , int $timestampEnd = PHP_INT_MAX )public static array listAbbreviations()
public static array listIdentifiers(int
$timezoneGroup = DateTimeZone::ALL, stringnull $countryCode = null )Predefined Constants
|