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
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- MomentDateTime
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Abstract Value Members
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( ... ) @native()
-
def
copy: Date
create a copy of underlying value.
create a copy of underlying value. used for modifications
- Attributes
- protected
- def dayOfMonth: Int
- def dayOfWeek: DayOfWeek
- def daysUntil(other: T): Long
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def format(formatString: String): String
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hour: Int
- def hoursUntil(other: T): Long
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
jsGetTime: Double
Raw long instant value of this datetime instance
- def millisecond: Int
- def millisecondsUntil(other: T): Long
- def minus(d: Duration): T
- def minute: Int
- def minutesUntil(other: T): Long
- def month: Int
- def monthsUntil(other: T): Long
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def plus(d: Duration): T
- def plusDays(n: Int): T
- def plusMonths(n: Int): T
- def plusYears(n: Int): T
- def second: Int
- def secondsUntil(other: T): Long
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- def toLocalDate: LocalDate
- def toLocalTime: LocalTime
-
def
toString(): String
- Definition Classes
- MomentDateTime → AnyRef → Any
-
def
underlyingMoment: Date
Safe copy of underlying moment-js time
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def withDate(date: LocalDate): T
- def withDayOfMonth(dayOfMonth: Int): T
- def withHour(hour: Int): T
- def withMillisecond(millisecond: Int): T
- def withMinute(minute: Int): T
- def withMonth(month: Int): T
- def withSecond(second: Int): T
- def withTime(time: LocalTime): T
- def withYear(year: Int): T
- def year: Int
- def yearsUntil(other: T): Long