Class

com.github.nscala_time.time

RichInterval

Related Doc: package time

Permalink

final class RichInterval extends AnyVal with PimpedType[Interval]

Source
RichInterval.scala
Linear Supertypes
PimpedType[Interval], AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RichInterval
  2. PimpedType
  3. AnyVal
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RichInterval(underlying: Interval)

    Permalink

Value Members

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

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

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

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

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

    Permalink

    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]

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

    Permalink
    Definition Classes
    Any
  8. def toString(): String

    Permalink
    Definition Classes
    Any
  9. val underlying: Interval

    Permalink
    Definition Classes
    RichIntervalPimpedType

Inherited from PimpedType[Interval]

Inherited from AnyVal

Inherited from Any

Ungrouped