Packages

trait MomentDateTime[T <: MomentDateTime[T]] extends AnyRef

Common API for immutable moment-js values

T

exact type of a moment date wrapper

Self Type
T
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MomentDateTime
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def plusMillis(n: Long): T
  2. abstract val underlying: Date

    underlying moment-js value

    underlying moment-js value

    Attributes
    protected
  3. abstract def updated(modifier: (Date) ⇒ Date): T
    Attributes
    protected

Concrete 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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. def copy: Date

    create a copy of underlying value.

    create a copy of underlying value. used for modifications

    Attributes
    protected
  7. def dayOfMonth: Int
  8. def dayOfWeek: DayOfWeek
  9. def daysUntil(other: T): Long
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def format(formatString: String): String
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def hour: Int
  17. def hoursUntil(other: T): Long
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. def jsGetTime: Double

    Raw long instant value of this datetime instance

  20. def millisecond: Int
  21. def millisecondsUntil(other: T): Long
  22. def minus(d: Duration): T
  23. def minute: Int
  24. def minutesUntil(other: T): Long
  25. def month: Int
  26. def monthsUntil(other: T): Long
  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. def plus(d: Duration): T
  31. def plusDays(n: Int): T
  32. def plusMonths(n: Int): T
  33. def plusYears(n: Int): T
  34. def second: Int
  35. def secondsUntil(other: T): Long
  36. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  37. def toLocalDate: LocalDate
  38. def toLocalTime: LocalTime
  39. def toString(): String
    Definition Classes
    MomentDateTime → AnyRef → Any
  40. def underlyingMoment: Date

    Safe copy of underlying moment-js time

  41. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  44. def withDate(date: LocalDate): T
  45. def withDayOfMonth(dayOfMonth: Int): T
  46. def withHour(hour: Int): T
  47. def withMillisecond(millisecond: Int): T
  48. def withMinute(minute: Int): T
  49. def withMonth(month: Int): T
  50. def withSecond(second: Int): T
  51. def withTime(time: LocalTime): T
  52. def withYear(year: Int): T
  53. def year: Int
  54. def yearsUntil(other: T): Long

Inherited from AnyRef

Inherited from Any

Ungrouped