DateTimeZone
class DateTimeZone extends DateTimeZone (View source)
Constants
| DESCRIPTION_OFFSET |
|
| DESCRIPTION_OFFSET_FORMAT |
|
| DESCRIPTION_NAME |
|
| UTC_OFFSET_STRING_PATTERN |
|
Methods
string
getAbbreviation()
No description
static DateTimeZone[]
listMatchingOffsetTimezones(DateTimeZone $timezone, integer $timezoneGroup = \DateTimeZone::ALL, string $countryCode = null)
Get all time zone with the same UTC offset
static DateTimeZone
createFromDescription(string|number|array $description)
Create a DateTimeZone from a various kind of time zone description.
static DateTimeZone
createFromOffset(string|integer $value, string|NULL $format = null)
No description
static string
getOffsetFormat(string $value)
No description
Details
at line 19
string
getAbbreviation()
at line 38
static DateTimeZone[]
listMatchingOffsetTimezones(DateTimeZone $timezone, integer $timezoneGroup = \DateTimeZone::ALL, string $countryCode = null)
Get all time zone with the same UTC offset
at line 78
static DateTimeZone
createFromDescription(string|number|array $description)
Create a DateTimeZone from a various kind of time zone description.