uk.co.bigbeeconsultants.http.header

HttpDateTimeInstant

object HttpDateTimeInstant extends Serializable

HttpDateTimeInstant expresses the number of seconds since 1st Jan 1970, as used in HTTP date headers. This companion object provides hand-optimised parsing functions.

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. HttpDateTimeInstant
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. val Zero: HttpDateTimeInstant

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  9. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  12. val fullRfc1123DateTimeFormat: String

    The same as rfc1123DateTimeFormat except with the leading "EEE, " day name.

  13. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  16. val iso8601DateTimeFormat: String

    ISO8601 defines this widely used format.

    ISO8601 defines this widely used format. Ironically, it isn't used in HTTP but is included here as a useful extension. This particular variant is only suitable for UTC ('Zulu'). "yyyy-MM-dd'T'HH:mm:ss'Z'"

  17. final val logger: Logger

  18. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  21. def parse(dateString: String): HttpDateTimeInstant

    Parses a string as a date-time instant of the syntactic form expected in HTTP.

    Parses a string as a date-time instant of the syntactic form expected in HTTP.

    Annotations
    @throws( classOf[ParseException] )
  22. def parse(dateString: String, defaultValue: HttpDateTimeInstant): HttpDateTimeInstant

    Parses a string as a date-time instant of the syntactic form expected in HTTP.

    Parses a string as a date-time instant of the syntactic form expected in HTTP. If the dateString cannot be parsed because its syntax is incorrect, the default value is returned instead.

  23. val rfc1123DateTimeFormat: String

    RFC1123 dates are always in GMT.

    RFC1123 dates are always in GMT. The canonical representation is rfc1123DateTimeFormat, in which the leading "EEE, " is assumed to have been stripped, and the trailing "GMT" is ignored. That is, the representation is "dd MMM yyyy HH:mm:ss".

  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  25. def timeNowMillis: Long

  26. def timeNowSec: Long

  27. def toString(): String

    Definition Classes
    AnyRef → Any
  28. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  29. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  30. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()

Deprecated Value Members

  1. val zero: HttpDateTimeInstant

    Annotations
    @deprecated
    Deprecated

    (Since version v0.25.2) Use 'Zero' instead.

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped