|
IntlTimeZone クラスはじめに
クラス概要
IntlTimeZone
/* 定数 */
public
const
int
IntlTimeZone::DISPLAY_SHORT;
public
const
int
IntlTimeZone::DISPLAY_LONG;
public
const
int
IntlTimeZone::DISPLAY_SHORT_GENERIC;
public
const
int
IntlTimeZone::DISPLAY_LONG_GENERIC;
public
const
int
IntlTimeZone::DISPLAY_SHORT_GMT;
public
const
int
IntlTimeZone::DISPLAY_LONG_GMT;
public
const
int
IntlTimeZone::DISPLAY_SHORT_COMMONLY_USED;
public
const
int
IntlTimeZone::DISPLAY_GENERIC_LOCATION;
public
const
int
IntlTimeZone::TYPE_ANY;
public
const
int
IntlTimeZone::TYPE_CANONICAL;
public
const
int
IntlTimeZone::TYPE_CANONICAL_LOCATION;
/* メソッド */
private __construct()
public static intfalse countEquivalentIDs(string
$timezoneId)public static IntlTimeZone createDefault()
public static IntlIteratorfalse createEnumeration(IntlTimeZonestringintfloatnull
$countryOrRawOffset = null)public static IntlTimeZonenull createTimeZone(string
$timezoneId)public static IntlIteratorfalse createTimeZoneIDEnumeration(int
$type, stringnull $region = null, intnull $rawOffset = null)public static IntlTimeZonenull fromDateTimeZone(DateTimeZone
$timezone)public static stringfalse getCanonicalID(string
$timezoneId, bool &$isSystemId = null)public stringfalse getDisplayName(bool
$dst = false, int $style = IntlTimeZone::DISPLAY_LONG, stringnull $locale = null)public int getDSTSavings()
public static stringfalse getEquivalentID(string
$timezoneId, int $offset)public intfalse getErrorCode()
public stringfalse getErrorMessage()
public static IntlTimeZone getGMT()
public stringfalse getID()
public static stringfalse getIDForWindowsID(string
$timezoneId, stringnull $region = null)public bool getOffset(
float $timestamp,bool $local,int &$rawOffset,int &$dstOffset) public int getRawOffset()
public static stringfalse getRegion(string
$timezoneId)public static stringfalse getTZDataVersion()
public static IntlTimeZone getUnknown()
public static stringfalse getWindowsID(string
$timezoneId)public bool hasSameRules(IntlTimeZone
$other)public DateTimeZonefalse toDateTimeZone()
public bool useDaylightTime()
定義済み定数
変更履歴
|