com.twitter.scalding

RichDate

case class RichDate(timestamp: Long) extends Ordered[RichDate] with Product with Serializable

A value class wrapper for milliseconds since the epoch

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

Instance Constructors

  1. new RichDate(timestamp: Long)

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 +(interval: Duration): RichDate

  5. def -(that: RichDate): AbsoluteDuration

  6. def -(interval: Duration): RichDate

  7. def <(that: RichDate): Boolean

    Definition Classes
    Ordered
  8. def <=(that: RichDate): Boolean

    Definition Classes
    Ordered
  9. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  11. def >(that: RichDate): Boolean

    Definition Classes
    Ordered
  12. def >=(that: RichDate): Boolean

    Definition Classes
    Ordered
  13. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  14. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  15. def compare(that: RichDate): Int

    Definition Classes
    RichDate → Ordered
  16. def compareTo(that: RichDate): Int

    Definition Classes
    Ordered → Comparable
  17. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  18. def equals(that: Any): Boolean

    Definition Classes
    RichDate → Equals → AnyRef → Any
  19. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. def format(pattern: String)(implicit tz: TimeZone): String

    Use String.

    Use String.format to format the date, as opposed to toString with uses SimpleDateFormat

  21. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  22. def hashCode(): Int

    Make sure the hashCode is the same as Date for the (questionable) choice to make them equal.

    Make sure the hashCode is the same as Date for the (questionable) choice to make them equal. this is the same as what java does (and only sane thing): http://grepcode.com/file/repository.grepcode.com/java/root/jdk/openjdk/6-b14/java/util/Date.java#989

    Definition Classes
    RichDate → AnyRef → Any
  23. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  24. final def ne(arg0: AnyRef): Boolean

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

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

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

    Definition Classes
    AnyRef
  28. val timestamp: Long

  29. def toCalendar(implicit tz: TimeZone): Calendar

  30. def toString(fmt: String)(implicit tz: TimeZone): String

    Use SimpleDateFormat to print the string

  31. def toString(): String

    Definition Classes
    RichDate → AnyRef → Any
  32. def value: Date

  33. final def wait(): Unit

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. 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 Ordered[RichDate]

Inherited from Comparable[RichDate]

Inherited from AnyRef

Inherited from Any

Ungrouped