- Companion
- class
Value members
Concrete methods
Constructs an HttpDate from the current time. Starting on January 1,n 10000, this will throw an exception. The author intends to leave this problem for future generations.
Constructs an HttpDate from the current time. Starting on January 1,n 10000, this will throw an exception. The author intends to leave this problem for future generations.
Constructs a date from an instant, truncating to the most recent second. If out of range, returns a ParseFailure.
Constructs a date from an instant, truncating to the most recent second. If out of range, returns a ParseFailure.
Parses a date according to RFC7231, Section 7.1.1.1
Parses a date according to RFC7231, Section 7.1.1.1
- See also
Constructs a date from an zoned date-time, truncating to the most recent second. If out of range, returns a ParseFailure.
Constructs a date from an zoned date-time, truncating to the most recent second. If out of range, returns a ParseFailure.
Like fromEpochSecond
, but throws any parse failures
Like fromEpochSecond
, but throws any parse failures
Deprecated methods
Constructs an HttpDate
from the current time. Starting on January 1,n
10000, this will throw an exception. The author intends to leave this
problem for future generations.
Constructs an HttpDate
from the current time. Starting on January 1,n
10000, this will throw an exception. The author intends to leave this
problem for future generations.
- Deprecated
Concrete fields
The HttpDate
equal to Thu, Jan 01 1970 00:00:00 GMT
The HttpDate
equal to Thu, Jan 01 1970 00:00:00 GMT
The latest value reprsentable by RFC1123, Fri, 31 Dec 9999 23:59:59 GMT
.
The latest value reprsentable by RFC1123, Fri, 31 Dec 9999 23:59:59 GMT
.