cc.spray.can

DateTime

trait DateTime extends Ordered[DateTime]

Immutable, fast and efficient Date + Time implementation without any dependencies. Does not support TimeZones, all DateTime values are always GMT based.

Attributes
sealed
Linear Supertypes
Ordered[DateTime], Comparable[DateTime], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. DateTime
  2. Ordered
  3. Comparable
  4. AnyRef
  5. Any
Visibility
  1. Public
  2. All

Abstract Value Members

  1. def clicks : Long

    The number of milliseconds since the start of "the epoch", namely January 1, 1970, 00:00:00 GMT.

    The number of milliseconds since the start of "the epoch", namely January 1, 1970, 00:00:00 GMT.

    Attributes
    abstract
  2. def day : Int

    The day of the month.

    The day of the month. The first day is 1.

    Attributes
    abstract
  3. def hour : Int

    The hour of the day.

    The hour of the day. The first hour is 0.

    Attributes
    abstract
  4. def isLeapYear : Boolean

    True if leap year.

    True if leap year.

    Attributes
    abstract
  5. def minute : Int

    The minute of the hour.

    The minute of the hour. The first minute is 0.

    Attributes
    abstract
  6. def month : Int

    The month of the year.

    The month of the year. January is 1.

    Attributes
    abstract
  7. def second : Int

    The second of the minute.

    The second of the minute. The first second is 0.

    Attributes
    abstract
  8. def weekday : Int

    The day of the week.

    The day of the week. Sunday is 0.

    Attributes
    abstract
  9. def year : Int

    The year.

    The year.

    Attributes
    abstract

Concrete Value Members

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

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

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

    Attributes
    final
    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. def == (arg0: AnyRef): Boolean

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

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

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

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

    Attributes
    final
    Definition Classes
    Any
  13. def clone (): AnyRef

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

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

    Definition Classes
    Ordered → Comparable
  16. def eq (arg0: AnyRef): Boolean

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

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

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

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

    Definition Classes
    DateTime → AnyRef → Any
  21. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  22. 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

  23. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  24. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  25. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  26. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  27. def toIsoDateString : String

    yyyy-mm-dd

  28. def toIsoDateTimeString : String

    yyyy-mm-ddThh:mm:ss

  29. def toRfc1123DateTimeString : String

    RFC 1123 date string, e.

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

  30. def toString (): String

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

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  34. def weekdayStr : String

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

Inherited from Ordered[DateTime]

Inherited from Comparable[DateTime]

Inherited from AnyRef

Inherited from Any