Parses an Accept-DateTime header string.
The Accept-DateTime header string.
Determines if invalid values throw errors (true) or log warnings (false). Defaults to false.
true
false
An array with a single AcceptDatetime object, or an empty array if a range in an invalid format is detected.
Parses an Accept-DateTime header string.