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
Linear Supertypes
AnyRef, Any
Known Subclasses
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

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

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

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

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

    Permalink

    create a copy of underlying value.

    create a copy of underlying value. used for modifications

    Attributes
    protected
  7. def dayOfMonth: Int

    Permalink
  8. def dayOfWeek: DayOfWeek

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

    Permalink
  10. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def format(formatString: String): String

    Permalink
  14. final def getClass(): Class[_]

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

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

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

    Permalink
  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. def jsGetTime: Double

    Permalink

    Raw long instant value of this datetime instance

  20. def millisecond: Int

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

    Permalink
  22. def minus(d: Duration): T

    Permalink
  23. def minute: Int

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

    Permalink
  25. def month: Int

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

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

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

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

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

    Permalink
  31. def plusDays(n: Int): T

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

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

    Permalink
  34. def second: Int

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

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

    Permalink
    Definition Classes
    AnyRef
  37. def toLocalDate: LocalDate

    Permalink
  38. def toLocalTime: LocalTime

    Permalink
  39. def toString(): String

    Permalink
    Definition Classes
    MomentDateTime → AnyRef → Any
  40. def underlyingMoment: Date

    Permalink

    Safe copy of underlying moment-js time

  41. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. def withDate(date: LocalDate): T

    Permalink
  45. def withDayOfMonth(dayOfMonth: Int): T

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

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

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

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

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

    Permalink
  51. def withTime(time: LocalTime): T

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

    Permalink
  53. def year: Int

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

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped