com.github.nscala_time.time

RichInterval

final class RichInterval extends AnyVal with PimpedType[Interval]

Source
RichInterval.scala
Linear Supertypes
PimpedType[Interval], AnyVal, NotNull, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. RichInterval
  2. PimpedType
  3. AnyVal
  4. NotNull
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RichInterval(underlying: Interval)

Value Members

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

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

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

    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def by(period: ReadablePeriod): List[DateTime]

    Returns a collection containing every instance between the interval, period time apart.

    Returns a collection containing every instance between the interval, period time apart.

    scala> val start = DateTime.now()
    start: org.joda.time.DateTime = 2014-11-27T00:24:54.714+01:00
    
    scala> val end = start + 1.day
    end: org.joda.time.DateTime = 2014-11-28T00:24:54.714+01:00
    
    scala> start to end by 1.minute
    res0: scala.collection.immutable.List[org.joda.time.DateTime] = List(2014-11-27T00:24:54.714+01:00, ...)
  6. def getClass(): Class[_ <: AnyVal]

    Definition Classes
    AnyVal → Any
  7. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  8. def toString(): String

    Definition Classes
    Any
  9. val underlying: Interval

    Definition Classes
    RichIntervalPimpedType

Inherited from PimpedType[Interval]

Inherited from AnyVal

Inherited from NotNull

Inherited from Any

Ungrouped