Class/Object

org.tresamigos.smv.panel

PartialTime

Related Docs: object PartialTime | package panel

Permalink

abstract class PartialTime extends Ordered[PartialTime] with Serializable

PartialTime is a "gross" time concept. It's closer to a "bussiness" concept than scientific or engineering concept. We currently have Quarter, Month, and Day

A PartialTime represented in DF as a String column, and typically named as smvTime with values such as "Q201301", "M201312", "D20130423".

A PartialTime can also represented as timeType + timeIndex, e.g. "M201512" => (timeType = "month", timeIndex = 551) Where timeIndex is an integere which count from 1970-01-01.

A PartialTime also has a timeLabel which is a human readable string

Linear Supertypes
Serializable, Serializable, Ordered[PartialTime], Comparable[PartialTime], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PartialTime
  2. Serializable
  3. Serializable
  4. Ordered
  5. Comparable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PartialTime()

    Permalink

Abstract Value Members

  1. abstract def newInstance(timeIndex: Int): PartialTime

    Permalink
  2. abstract def smvTime(): String

    Permalink
  3. abstract def startTimestamp(): Timestamp

    Permalink
  4. abstract def timeIndex(): Int

    Permalink
  5. abstract def timeLabel(): String

    Permalink
  6. abstract def timeStampToSmvTime(c: Column): Column

    Permalink
  7. abstract def timeType(): String

    Permalink

Concrete Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def <(that: PartialTime): Boolean

    Permalink
    Definition Classes
    Ordered
  4. def <=(that: PartialTime): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  6. def >(that: PartialTime): Boolean

    Permalink
    Definition Classes
    Ordered
  7. def >=(that: PartialTime): Boolean

    Permalink
    Definition Classes
    Ordered
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def clone(): AnyRef

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

    Permalink
    Definition Classes
    PartialTime → Ordered
  11. def compareTo(that: PartialTime): Int

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  22. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Ordered[PartialTime]

Inherited from Comparable[PartialTime]

Inherited from AnyRef

Inherited from Any

Ungrouped