Trait/Object

dtc.js

MomentDateTime

Related Docs: object MomentDateTime | package js

Permalink

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
Source
MomentDateTime.scala
Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MomentDateTime
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def plusMillis(n: Long): T

    Permalink
  2. abstract val underlying: Date

    Permalink

    underlying moment-js value

    underlying moment-js value

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

    Permalink
    Attributes
    protected

Concrete Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from MomentDateTime[T] to any2stringadd[MomentDateTime[T]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (MomentDateTime[T], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from MomentDateTime[T] to ArrowAssoc[MomentDateTime[T]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def copy: Date

    Permalink

    create a copy of underlying value.

    create a copy of underlying value. used for modifications

    Attributes
    protected
  9. def dayOfMonth: Int

    Permalink
  10. def dayOfWeek: DayOfWeek

    Permalink
  11. def daysUntil(other: T): Long

    Permalink
  12. def ensuring(cond: (MomentDateTime[T]) ⇒ Boolean, msg: ⇒ Any): MomentDateTime[T]

    Permalink
    Implicit information
    This member is added by an implicit conversion from MomentDateTime[T] to Ensuring[MomentDateTime[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: (MomentDateTime[T]) ⇒ Boolean): MomentDateTime[T]

    Permalink
    Implicit information
    This member is added by an implicit conversion from MomentDateTime[T] to Ensuring[MomentDateTime[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean, msg: ⇒ Any): MomentDateTime[T]

    Permalink
    Implicit information
    This member is added by an implicit conversion from MomentDateTime[T] to Ensuring[MomentDateTime[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: Boolean): MomentDateTime[T]

    Permalink
    Implicit information
    This member is added by an implicit conversion from MomentDateTime[T] to Ensuring[MomentDateTime[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from MomentDateTime[T] to StringFormat[MomentDateTime[T]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  20. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  22. def hour: Int

    Permalink
  23. def hoursUntil(other: T): Long

    Permalink
  24. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  25. def jsGetTime: Double

    Permalink

    Raw long instant value of this datetime instance

  26. def millisecond: Int

    Permalink
  27. def millisecondsUntil(other: T): Long

    Permalink
  28. def minute: Int

    Permalink
  29. def minutesUntil(other: T): Long

    Permalink
  30. def month: Int

    Permalink
  31. def monthsUntil(other: T): Long

    Permalink
  32. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  33. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  34. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  35. def plus(d: Duration): T

    Permalink
  36. def plusMonths(n: Int): T

    Permalink
  37. def plusYears(n: Int): T

    Permalink
  38. def second: Int

    Permalink
  39. def secondsUntil(other: T): Long

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

    Permalink
    Definition Classes
    AnyRef
  41. def toLocalDate: LocalDate

    Permalink
  42. def toLocalTime: LocalTime

    Permalink
  43. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. def withDayOfMonth(dayOfMonth: Int): T

    Permalink
  48. def withHour(hour: Int): T

    Permalink
  49. def withMillisecond(millisecond: Int): T

    Permalink
  50. def withMinute(minute: Int): T

    Permalink
  51. def withMonth(month: Int): T

    Permalink
  52. def withSecond(second: Int): T

    Permalink
  53. def withYear(year: Int): T

    Permalink
  54. def year: Int

    Permalink
  55. def yearsUntil(other: T): Long

    Permalink
  56. def [B](y: B): (MomentDateTime[T], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from MomentDateTime[T] to ArrowAssoc[MomentDateTime[T]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from MomentDateTime[T] to any2stringadd[MomentDateTime[T]]

Inherited by implicit conversion StringFormat from MomentDateTime[T] to StringFormat[MomentDateTime[T]]

Inherited by implicit conversion Ensuring from MomentDateTime[T] to Ensuring[MomentDateTime[T]]

Inherited by implicit conversion ArrowAssoc from MomentDateTime[T] to ArrowAssoc[MomentDateTime[T]]

Ungrouped