com.twitter.scalding

DateRange

case class DateRange(start: RichDate, end: RichDate) extends Product with Serializable

represents a closed interval of time.

TODO: This should be Range[RichDate, Duration] for an appropriate notion of Range

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. DateRange
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DateRange(start: RichDate, end: RichDate)

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

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

    Definition Classes
    AnyRef → Any
  4. def +(timespan: Duration): DateRange

    shift this by the given unit

  5. def -(timespan: Duration): DateRange

  6. final def ==(arg0: AnyRef): Boolean

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

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

    Definition Classes
    Any
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def contains(dr: DateRange): Boolean

    Is the given Date range a (non-strict) subset of the given range

  11. def contains(point: RichDate): Boolean

  12. def each(span: Duration): Iterable[DateRange]

    produce a contiguous non-overlapping set of DateRanges whose union is equivalent to this.

    produce a contiguous non-overlapping set of DateRanges whose union is equivalent to this. If it is passed an integral unit of time (not a DurationList), it stops at boundaries which are set by the start timezone, else break at start + k * span.

  13. def embiggen(delta: Duration): DateRange

    make the range wider by delta on each side.

    make the range wider by delta on each side. Good to catch events which might spill over.

  14. val end: RichDate

  15. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  16. def extend(delta: Duration): DateRange

    Extend the length by moving the end.

    Extend the length by moving the end. We can keep the party going, but we can't start it earlier.

  17. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  19. def isAfter(d: RichDate): Boolean

  20. def isBefore(d: RichDate): Boolean

  21. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  22. def length: AbsoluteDuration

  23. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  24. final def notify(): Unit

    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  26. val start: RichDate

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

    Definition Classes
    AnyRef
  28. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped