DateFormat
class DateFormat extends AbstractEnum (View source)
Provides a set of commonly-used time/date-stamps in feeds.
Constants
ATOM |
1970-01-01T00:00:00+00:00. |
ISO8601 |
1970-01-01T00:00:00+00:00. |
RFC3339 |
1970-01-01T00:00:00+00:00. |
RFC822 |
Thu, 01 Jan 70 00:00:00 +0000. |
RFC2822 |
Thu, 01 Jan 1970 00:00:00 +0000. |
RSS20 |
Thu, 01 Jan 1970 00:00:00 +0000. |
LONG_12HOUR |
Thursday, 1st January 1970, 12:00am GMT. |
LONG_24HOUR |
Thursday, 1st January 1970, 0:00 GMT. |
SHORT_12HOUR |
Thu, 1 Jan 1970, 12:00am GMT. |
SHORT_24HOUR |
Thu, 1 Jan 1970, 0:00 GMT. |
SINCE_EPOCH |
1514357702. |
Methods
static bool
hasValue(string $value)
Determines if the value is one of the Enum values of this type.
from AbstractEnum
Details
in AbstractEnum at line 25
static array
introspect()
Introspects the Enum for its values.
in AbstractEnum at line 35
static array
introspectKeys()
Introspects the Enum for its keys.
in AbstractEnum at line 43
static bool
hasValue(string $value)
Determines if the value is one of the Enum values of this type.