DateFormat
extends Enum
in package
Contains enumerable date format values used in the SDK
Table of Contents
Constants
- ISO8601 = 'Ymd\THis\Z'
- ISO8601_S3 = 'Y-m-d\TH:i:s\Z'
- RFC1123 = 'D, d M Y H:i:s \G\M\T'
- RFC2822 = \DateTime::RFC2822
- SHORT = 'Ymd'
Properties
- $cache : array<string|int, mixed>
Methods
- keys() : array<string|int, mixed>
- Returns the names (or keys) of all of constants in the enum
- values() : array<string|int, mixed>
- Return the names and values of all the constants in the enum
Constants
ISO8601
public
mixed
ISO8601
= 'Ymd\THis\Z'
ISO8601_S3
public
mixed
ISO8601_S3
= 'Y-m-d\TH:i:s\Z'
RFC1123
public
mixed
RFC1123
= 'D, d M Y H:i:s \G\M\T'
RFC2822
public
mixed
RFC2822
= \DateTime::RFC2822
SHORT
public
mixed
SHORT
= 'Ymd'
Properties
$cache
protected
static array<string|int, mixed>
$cache
= array()
A cache of all enum values to increase performance
Methods
keys()
Returns the names (or keys) of all of constants in the enum
public
static keys() : array<string|int, mixed>
Return values
array<string|int, mixed>values()
Return the names and values of all the constants in the enum
public
static values() : array<string|int, mixed>