trait DateTime extends Object

Annotations
@JSType() @native()
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DateTime
  2. Object
  3. Any
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def toRFC2822(): String

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(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. val day: Int
  7. val daysInMonth: Int
  8. val daysInYear: Int
  9. def diff(other: DateTime, unit: UndefOr[|[DurationUnit, Array[DurationUnit]]] = js.undefined, options: UndefOr[DiffOptions] = js.undefined): Duration
  10. def diffNow(unit: UndefOr[|[DurationUnit, Array[DurationUnit]]] = js.undefined, options: UndefOr[DiffOptions] = js.undefined): Duration
  11. def endOf(part: DurationUnit): DateTime
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(that: DateTime): Boolean
  14. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  15. def get(unit: String): Int
  16. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  18. def hasSame(that: DateTime, unit: String): Boolean
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. val invalidExplanation: |[String, Null]
  21. val invalidReason: |[String, Null]
  22. val isInDST: Boolean
  23. val isInLeapYear: Boolean
  24. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  25. val isOffsetFixed: Boolean
  26. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  27. val isValid: Boolean
  28. val locale: String
  29. val millisecond: Int
  30. def minus(dur: |[Duration, DurationInit]): DateTime
  31. val month: Int
  32. val monthLong: String
  33. val monthShort: String
  34. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  35. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  36. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  37. val numberingSystem: String
  38. val offset: Int
  39. val offsetNameLong: String
  40. val offsetNameShort: String
  41. val ordinal: Int
  42. val outputCalendar: String
  43. def plus(dur: |[Duration, DurationInit]): DateTime
  44. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  45. val quarter: Int
  46. val second: Int
  47. def set(parts: DateTimeInit): DateTime
  48. def setLocale(loc: String): DateTime
  49. def setZone(zone: String): DateTime
  50. def startOf(part: DurationUnit): DateTime
  51. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  52. def toBSON(): Date
  53. def toFormat(fmt: String): String
  54. def toHTTP(): String
  55. def toISO(): String
  56. def toISODate(): String
  57. def toISOTime(): String
  58. def toISOWeekDate(): String
  59. def toJSDate(): Date
  60. def toJSON(): String
  61. def toLocal(): DateTime
  62. def toLocaleString(f: UndefOr[LocaleInfo] = js.undefined): String
  63. def toLocaleString(): String
    Definition Classes
    Object
  64. def toMillis(): Double
  65. def toObject(): DateTimeInit
  66. def toRelative(): String
  67. def toRelativeCalendar(): String
  68. def toSQL(options: UndefOr[DateTimeOptions] = js.undefined): String
  69. def toSQLDate(): String
  70. def toSQLTime(): String
  71. def toSeconds(): Double
  72. def toString(): String
    Definition Classes
    AnyRef → Any
  73. def toUTC(offset: Int, options: UndefOr[DateTimeOptions] = js.undefined): DateTime
  74. def toUTC(): DateTime
  75. def until(other: DateTime): Interval
  76. def valueOf(): Any
    Definition Classes
    Object
  77. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  78. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  79. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  80. val weekNumber: Int
  81. val weekYear: Int
  82. val weekday: Int
  83. val weekdayLong: String
  84. val weekdayShort: String
  85. val weeksInWeekYear: Int
  86. val year: Int
  87. val zone: Zone
  88. val zoneName: String

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped