spray.http

DateTime

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: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef → Any
  4. def +(millis: Long): DateTime

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

  5. def -(millis: Long): DateTime

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

  6. def <(that: DateTime): Boolean

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

    Definition Classes
    Ordered
  8. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  10. def >(that: DateTime): Boolean

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

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

    Definition Classes
    Any
  13. val clicks: Long

  14. def clone(): AnyRef

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

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

    Definition Classes
    Ordered → Comparable
  17. val day: Int

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

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

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

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

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

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

  24. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  25. val isLeapYear: Boolean

  26. val minute: Int

  27. val month: Int

  28. 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

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

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

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

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

    yyyy-mm-ddThh:mm:ss

    yyyy-mm-ddThh:mm:ss

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

    yyyy-mm-dd

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

    yyyy-mm-ddThh:mm:ss

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

    yyyy-mm-dd hh:mm:ss

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

    RFC1123 date string, e.

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

  37. val second: Int

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

    Definition Classes
    AnyRef
  39. def toIsoDateString: String

    yyyy-mm-dd

  40. def toIsoDateTimeString: String

    yyyy-mm-ddThh:mm:ss

  41. def toIsoLikeDateTimeString: String

    yyyy-mm-dd hh:mm:ss

  42. def toRfc1123DateTimeString: String

    RFC1123 date string, e.

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

  43. def toString(): String

    yyyy-mm-ddThh:mm:ss

    yyyy-mm-ddThh:mm:ss

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

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

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

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

  48. def weekdayStr: String

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

  49. 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