Trait

io.scalajs.npm.moment.range

Range

Related Doc: package range

Permalink

trait Range extends Object

Represents a Range

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

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def add(units: Int, unit: String): Range.this.type

    Permalink
  5. def add(range: Range): Range.this.type

    Permalink
  6. def adjacent(range: Range): Boolean

    Permalink
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def by(timeUnit: String, options: RangeOptions = js.native): Iterator[Range.this.type]

    Permalink
  9. def center(): Range.this.type

    Permalink
  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def contains(date: Date, options: RangeOptions = js.native): Boolean

    Permalink
  12. def diff(timeUnit: String = js.native): Int

    Permalink
  13. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  17. def hasOwnProperty(v: String): Boolean

    Permalink
    Definition Classes
    Object
  18. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  19. def intersect(range: Range): Boolean

    Permalink
  20. def isEqual(range: Range): Boolean

    Permalink
  21. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  22. def isPrototypeOf(v: Object): Boolean

    Permalink
    Definition Classes
    Object
  23. def isSame(range: Range): Boolean

    Permalink
  24. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  25. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  27. def overlaps(range: Range): Boolean

    Permalink

    Find out if your moment falls within a date range

  28. def propertyIsEnumerable(v: String): Boolean

    Permalink
    Definition Classes
    Object
  29. def range(start: |[|[Date, Moment], String], end: |[|[Date, Moment], String]): Range.this.type

    Permalink
  30. def range(timeInterval: String): Range.this.type

    Permalink
  31. def range(dates: Array[_]): Range.this.type

    Permalink
  32. def reverseBy(timeUnit: String, options: RangeOptions = js.native): Iterator[Range.this.type]

    Permalink
  33. def reverseByRange(timeUnit: String, options: RangeOptions = js.native): Iterator[Range.this.type]

    Permalink
  34. def subtract(range: Range): Range.this.type

    Permalink

    Subtracting one range from another.

    Subtracting one range from another.

    range

    the other range

    returns

    the difference

  35. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  36. def toDate(): Array[Date]

    Permalink
  37. def toLocaleString(): String

    Permalink
    Definition Classes
    Object
  38. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  39. def valueOf(): Int

    Permalink
    Definition Classes
    Range → Object
  40. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. def within(range: Range): Boolean

    Permalink

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped