trait DateTime extends Object
- Annotations
- @JSType() @native()
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- DateTime
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Abstract Value Members
- abstract def toRFC2822(): String
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- val day: Int
- val daysInMonth: Int
- val daysInYear: Int
- def diff(other: DateTime, unit: UndefOr[|[DurationUnit, Array[DurationUnit]]] = js.undefined, options: UndefOr[DiffOptions] = js.undefined): Duration
- def diffNow(unit: UndefOr[|[DurationUnit, Array[DurationUnit]]] = js.undefined, options: UndefOr[DiffOptions] = js.undefined): Duration
- def endOf(part: DurationUnit): DateTime
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(that: DateTime): Boolean
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def get(unit: String): Int
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hasOwnProperty(v: String): Boolean
- Definition Classes
- Object
- def hasSame(that: DateTime, unit: String): Boolean
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val invalidExplanation: |[String, Null]
- val invalidReason: |[String, Null]
- val isInDST: Boolean
- val isInLeapYear: Boolean
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val isOffsetFixed: Boolean
- def isPrototypeOf(v: Object): Boolean
- Definition Classes
- Object
- val isValid: Boolean
- val locale: String
- val millisecond: Int
- def minus(dur: |[Duration, DurationInit]): DateTime
- val month: Int
- val monthLong: String
- val monthShort: String
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val numberingSystem: String
- val offset: Int
- val offsetNameLong: String
- val offsetNameShort: String
- val ordinal: Int
- val outputCalendar: String
- def plus(dur: |[Duration, DurationInit]): DateTime
- def propertyIsEnumerable(v: String): Boolean
- Definition Classes
- Object
- val quarter: Int
- val second: Int
- def set(parts: DateTimeInit): DateTime
- def setLocale(loc: String): DateTime
- def setZone(zone: String): DateTime
- def startOf(part: DurationUnit): DateTime
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toBSON(): Date
- def toFormat(fmt: String): String
- def toHTTP(): String
- def toISO(): String
- def toISODate(): String
- def toISOTime(): String
- def toISOWeekDate(): String
- def toJSDate(): Date
- def toJSON(): String
- def toLocal(): DateTime
- def toLocaleString(f: UndefOr[LocaleInfo] = js.undefined): String
- def toLocaleString(): String
- Definition Classes
- Object
- def toMillis(): Double
- def toObject(): DateTimeInit
- def toRelative(): String
- def toRelativeCalendar(): String
- def toSQL(options: UndefOr[DateTimeOptions] = js.undefined): String
- def toSQLDate(): String
- def toSQLTime(): String
- def toSeconds(): Double
- def toString(): String
- Definition Classes
- AnyRef → Any
- def toUTC(offset: Int, options: UndefOr[DateTimeOptions] = js.undefined): DateTime
- def toUTC(): DateTime
- def until(other: DateTime): Interval
- def valueOf(): Any
- Definition Classes
- Object
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- val weekNumber: Int
- val weekYear: Int
- val weekday: Int
- val weekdayLong: String
- val weekdayShort: String
- val weeksInWeekYear: Int
- val year: Int
- val zone: Zone
- val zoneName: String