trait DateTime extends Object
Abstract Value Members
- abstract def toRFC2822(): String
Concrete Value Members
- final def !=(arg0: Any): Boolean
- final def ##: Int
- final def ==(arg0: Any): Boolean
- final def asInstanceOf[T0]: T0
- def clone(): AnyRef
- 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
- def equals(that: DateTime): Boolean
- def equals(arg0: AnyRef): Boolean
- def get(unit: String): Int
- final def getClass(): Class[_ <: AnyRef]
- def hasOwnProperty(v: String): Boolean
- def hasSame(that: DateTime, unit: String): Boolean
- def hashCode(): Int
- val invalidExplanation: |[String, Null]
- val invalidReason: |[String, Null]
- val isInDST: Boolean
- val isInLeapYear: Boolean
- final def isInstanceOf[T0]: Boolean
- val isOffsetFixed: Boolean
- def isPrototypeOf(v: Object): Boolean
- 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
- final def notify(): Unit
- final def notifyAll(): Unit
- 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
- 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
- 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
- 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
- def toUTC(offset: Int, options: UndefOr[DateTimeOptions] = js.undefined): DateTime
- def toUTC(): DateTime
- def until(other: DateTime): Interval
- def valueOf(): Any
- final def wait(arg0: Long, arg1: Int): Unit
- final def wait(arg0: Long): Unit
- final def wait(): Unit
- 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
Deprecated Value Members
- def finalize(): Unit
Inherited from Object
Value Members
- def hasOwnProperty(v: String): Boolean
- def isPrototypeOf(v: Object): Boolean
- def propertyIsEnumerable(v: String): Boolean
- def toLocaleString(): String
- def valueOf(): Any
Inherited from Any
Value Members
- final def asInstanceOf[T0]: T0
- final def isInstanceOf[T0]: Boolean
Ungrouped
- abstract def toRFC2822(): String
- final def !=(arg0: Any): Boolean
- final def ##: Int
- final def ==(arg0: Any): Boolean
- final def asInstanceOf[T0]: T0
- def clone(): AnyRef
- 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
- def equals(that: DateTime): Boolean
- def equals(arg0: AnyRef): Boolean
- def get(unit: String): Int
- final def getClass(): Class[_ <: AnyRef]
- def hasOwnProperty(v: String): Boolean
- def hasSame(that: DateTime, unit: String): Boolean
- def hashCode(): Int
- val invalidExplanation: |[String, Null]
- val invalidReason: |[String, Null]
- val isInDST: Boolean
- val isInLeapYear: Boolean
- final def isInstanceOf[T0]: Boolean
- val isOffsetFixed: Boolean
- def isPrototypeOf(v: Object): Boolean
- 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
- final def notify(): Unit
- final def notifyAll(): Unit
- 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
- 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
- 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
- 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
- def toUTC(offset: Int, options: UndefOr[DateTimeOptions] = js.undefined): DateTime
- def toUTC(): DateTime
- def until(other: DateTime): Interval
- def valueOf(): Any
- final def wait(arg0: Long, arg1: Int): Unit
- final def wait(arg0: Long): Unit
- final def wait(): Unit
- 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
- def finalize(): Unit