| Constants |
public
|
RFC7231_FORMAT = 'D, d M Y H:i:s \G\M\T'
RFC7231 DateTime format.
|
#
|
public
|
DEFAULT_TO_STRING_FORMAT = 'Y-m-d H:i:s'
Default format to use for __toString method when type juggling occurs.
Default format to use for __toString method when type juggling occurs.
|
#
|
public
|
MOCK_DATETIME_FORMAT = 'Y-m-d H:i:s.u'
Format for converting mocked time, includes microseconds.
Format for converting mocked time, includes microseconds.
|
#
|
public
|
ISO_FORMAT_REGEXP = '(O[YMDHhms]|[Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY?|g{1,5}|G{1,5}|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?)'
Pattern detection for ->isoFormat and ::createFromIsoFormat.
Pattern detection for ->isoFormat and ::createFromIsoFormat.
|
#
|