Packages

object HttpDate

Source
HttpDate.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HttpDate
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val Epoch: HttpDate

    The HttpDate equal to Thu, Jan 01 1970 00:00:00 GMT

  5. val MaxValue: HttpDate

    The latest value reprsentable by RFC1123, Fri, 31 Dec 9999 23:59:59 GMT.

  6. val MinValue: HttpDate

    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.

    See also

    RFC 7231, Section 7.1.1, Origination Date

    RFC 5322, Section 3.3, Date and Time Specification

  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. implicit val catsOrderForHttp4sHttpDate: Order[HttpDate] with Hash[HttpDate]
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  10. def current[F[_]](implicit arg0: Functor[F], arg1: Clock[F]): F[HttpDate]

    Constructs an HttpDate from the current time.

    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.

  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def fromEpochSecond(epochSecond: Long): ParseResult[HttpDate]

    Constructs a date from the seconds since the Epoch.

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

  15. def fromInstant(instant: Instant): ParseResult[HttpDate]

    Constructs a date from an instant, truncating to the most recent second.

    Constructs a date from an instant, truncating to the most recent second. If out of range, returns a ParseFailure.

  16. def fromString(s: String): ParseResult[HttpDate]

    Parses a date according to RFC7231, Section 7.1.1.1

    Parses a date according to RFC7231, Section 7.1.1.1

    See also

    RFC 7231, Section 7.1.1, Origination Date

  17. def fromZonedDateTime(dateTime: ZonedDateTime): ParseResult[HttpDate]

    Constructs a date from an zoned date-time, truncating to the most recent second.

    Constructs a date from an zoned date-time, truncating to the most recent second. If out of range, returns a ParseFailure.

  18. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. implicit val stdLibOrderingInstance: Ordering[HttpDate]
  25. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  26. def toString(): String
    Definition Classes
    AnyRef → Any
  27. def unsafeFromEpochSecond(epochSecond: Long): HttpDate

    Like fromEpochSecond, but throws any parse failures

  28. def unsafeFromInstant(instant: Instant): HttpDate

    Like fromInstant, but throws any parse failures

  29. def unsafeFromString(s: String): HttpDate

    Like fromString, but throws on invalid input

  30. def unsafeFromZonedDateTime(dateTime: ZonedDateTime): HttpDate

    Like fromZonedDateTime, but throws any parse failures

  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Deprecated Value Members

  1. def now: HttpDate

    Constructs an HttpDate from the current time.

    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.

    Annotations
    @deprecated
    Deprecated

    (Since version Use HttpDate.current instead, this breaks referential transparency) 0.20.16

Inherited from AnyRef

Inherited from Any

Ungrouped