HttpDate

org.http4s.HttpDate$
See theHttpDate companion class
object HttpDate

Attributes

Companion:
class
Source:
HttpDate.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Concrete methods

def current[F[_] : Clock]: F[HttpDate]

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.

Attributes

Source:
HttpDate.scala

Constructs a date from the seconds since the Epoch. If out of range, returns a ParseFailure.

Constructs a date from the seconds since the Epoch. If out of range, returns a ParseFailure.

Attributes

Source:
HttpDate.scala

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.

Attributes

Source:
HttpDate.scala

Parses a date according to RFC7231, Section 7.1.1.1

Parses a date according to RFC7231, Section 7.1.1.1

Attributes

See also:
Source:
HttpDate.scala

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.

Attributes

Source:
HttpDate.scala

Like fromEpochSecond, but throws any parse failures

Like fromEpochSecond, but throws any parse failures

Attributes

Source:
HttpDate.scala

Like fromInstant, but throws any parse failures

Like fromInstant, but throws any parse failures

Attributes

Source:
HttpDate.scala

Like fromString, but throws on invalid input

Like fromString, but throws on invalid input

Attributes

Source:
HttpDate.scala

Like fromZonedDateTime, but throws any parse failures

Like fromZonedDateTime, but throws any parse failures

Attributes

Source:
HttpDate.scala

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.

Attributes

Deprecated
true
Source:
HttpDate.scala

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

Attributes

Source:
HttpDate.scala

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.

Attributes

Source:
HttpDate.scala

The earliest value reprsentable as an HTTP-date, Mon, 01 Jan 1900 00:00:00 GMT.

The earliest value reprsentable as an HTTP-date, Mon, 01 Jan 1900 00:00:00 GMT.

The minimum year is specified by RFC5322 as 1900.

Attributes

See also:
Source:
HttpDate.scala

Implicits

Implicits