trait Duration extends Object

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

Value Members

  1. def as(unit: DurationUnit): Double
  2. val days: Double
  3. def equals(that: Duration): Boolean
  4. def fromISO(text: String, options: DurationOptions): Duration
  5. def get(unit: DurationUnit): Double
  6. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  7. val hours: Double
  8. val invalidExplanation: |[String, Null]
  9. val invalidReason: |[String, Null]
  10. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  11. val isValid: Boolean
  12. val locale: String
  13. def mapUnits(fn: Function1[Duration, Duration]): Duration
  14. def minus(that: Duration): Duration
  15. val minutes: Double
  16. val months: Double
  17. def negate(): Duration
  18. val numberingSystem: String
  19. def plus(that: Duration): Duration
  20. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  21. val quarters: Double
  22. val seconds: Double
  23. def shiftTo(units: Array[DurationUnit]*): Duration
  24. def toISO(): String
  25. def toJSON(): String
  26. def toLocaleString(): String
    Definition Classes
    Object
  27. def toObject(): DurationInit
  28. def valueOf(): Any
    Definition Classes
    Object
  29. val weeks: Double
  30. val years: Double