public final class DateFormatter
A formatter for HTTP header dates, such as "Expires" and "Date" headers, or "expires" field in "Set-Cookie".
On the parsing side, it honors RFC6265 (so it supports RFC1123).
Day of week is ignored and not validated
Timezone is ignored, as RFC6265 assumes UTC
If you're looking for a date format that validates day of week, or supports other timezones, consider using
On the formatting side, it uses a subset of RFC1123 (2 digit day-of-month and 4 digit year) as per RFC2616.
This subset supports RFC6265.
RFC6265 for the parsing side,
RFC2616 for the encoding side.
Forked from Netty `io.netty.handler.codec`