spray.http

DateTime

Related Docs: object DateTime | package http

case class DateTime extends Ordered[DateTime] with Renderable with Product with Serializable

Immutable, fast and efficient Date + Time implementation without any dependencies. Does not support TimeZones, all DateTime values are always GMT based. Note that this implementation discards milliseconds (i.e. rounds down to full seconds).

Linear Supertypes
Serializable, Serializable, Product, Equals, Renderable, Ordered[DateTime], Comparable[DateTime], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. DateTime
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Renderable
  7. Ordered
  8. Comparable
  9. AnyRef
  10. Any
  1. Hide All
  2. Show all
Learn more about member selection
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. def +(millis: Long): DateTime

    Creates a new DateTime that represents the point in time the given number of ms later.

  4. def -(millis: Long): DateTime

    Creates a new DateTime that represents the point in time the given number of ms earlier.

  5. def <(that: DateTime): Boolean

    Definition Classes
    Ordered
  6. def <=(that: DateTime): Boolean

    Definition Classes
    Ordered
  7. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  8. def >(that: DateTime): Boolean

    Definition Classes
    Ordered
  9. def >=(that: DateTime): Boolean

    Definition Classes
    Ordered
  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. val clicks: Long

  12. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. def compare(that: DateTime): Int

    Definition Classes
    DateTime → Ordered
  14. def compareTo(that: DateTime): Int

    Definition Classes
    Ordered → Comparable
  15. val day: Int

  16. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  17. def equals(obj: Any): Boolean

    Definition Classes
    DateTime → Equals → AnyRef → Any
  18. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. final def getClass(): Class[_]

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

    Definition Classes
    DateTime → AnyRef → Any
  21. val hour: Int

  22. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  23. val isLeapYear: Boolean

  24. val minute: Int

  25. val month: Int

  26. def monthStr: String

    The day of the month as a 3 letter abbreviation: Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov or Dec

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

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

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

    Definition Classes
    AnyRef
  30. def render[R <: Rendering](r: R): r.type

    yyyy-mm-ddThh:mm:ss

    yyyy-mm-ddThh:mm:ss

    Definition Classes
    DateTimeRenderable
  31. def renderIsoDate[R <: Rendering](r: R): r.type

    yyyy-mm-dd

  32. def renderIsoDateTimeString[R <: Rendering](r: R): r.type

    yyyy-mm-ddThh:mm:ss

  33. def renderIsoLikeDateTimeString[R <: Rendering](r: R): r.type

    yyyy-mm-dd hh:mm:ss

  34. def renderRfc1123DateTimeString[R <: Rendering](r: R): r.type

    RFC1123 date string, e.g.

    RFC1123 date string, e.g. Sun, 06 Nov 1994 08:49:37 GMT

  35. val second: Int

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

    Definition Classes
    AnyRef
  37. def toIsoDateString: String

    yyyy-mm-dd

  38. def toIsoDateTimeString: String

    yyyy-mm-ddThh:mm:ss

  39. def toIsoLikeDateTimeString: String

    yyyy-mm-dd hh:mm:ss

  40. def toRfc1123DateTimeString: String

    RFC1123 date string, e.g.

    RFC1123 date string, e.g. Sun, 06 Nov 1994 08:49:37 GMT

  41. def toString(): String

    yyyy-mm-ddThh:mm:ss

    yyyy-mm-ddThh:mm:ss

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. val weekday: Int

  46. def weekdayStr: String

    The day of the week as a 3 letter abbreviation: Sun, Mon, Tue, Wed, Thu, Fri or Sat

  47. val year: Int

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Renderable

Inherited from Ordered[DateTime]

Inherited from Comparable[DateTime]

Inherited from AnyRef

Inherited from Any

Ungrouped