org.saddle

time

package time

Functionality to assist in TimeSeries related operations

Visibility
  1. Public
  2. All

Type Members

  1. sealed trait Frequency extends AnyRef

    Enumeration of frequency base for utilizing with an RRule

  2. case class RRule(freq: Frequency, interval: Int, wkst: Option[Weekday], count: Option[Int], until: Option[DateTime], bysetpos: List[Int], bymonth: List[Int], bymonthday: List[Int], byyearday: List[Int], byweekno: List[Int], byday: List[WeekdayNum], byhour: List[Int], byminute: List[Int], bysecond: List[Int], inzone: DateTimeZone, joins: List[(RRule, Option[DateTime])], excepts: List[(RRule, Option[DateTime])]) extends Product with Serializable

    Wrapper of a RFC 2445 RRULE or EXRULE as implemented in the google rfc2445 java library.

  3. case class RichDT(dt: DateTime) extends Product with Serializable

    Enriched DateTime, helps to simplify Date handling API

  4. class TimeAccessors[T] extends AnyRef

    Class providing time accessor methods for Vec and Index containing DateTimes

  5. sealed trait Weekday extends AnyRef

    Enumeration of weekdays for utilizing with an RRule

  6. case class WeekdayNum(n: Int, d: Weekday) extends Product with Serializable

    Weekday + Offset, for utilizing with an RRule

Value Members

  1. object DAILY extends Frequency with Product with Serializable

  2. object FR extends Weekday with Product with Serializable

  3. object HOURLY extends Frequency with Product with Serializable

  4. val ISO_CHRONO: ISOChronology

    Definition Classes
    package
  5. val ISO_CHRONO_UTC: ISOChronology

    Definition Classes
    package
  6. object MINUTELY extends Frequency with Product with Serializable

  7. object MO extends Weekday with Product with Serializable

  8. object MONTHLY extends Frequency with Product with Serializable

  9. object RRule extends Serializable

  10. object RRules extends AnyRef

    Helpful prepackaged recurrence rules

  11. object SA extends Weekday with Product with Serializable

  12. object SECONDLY extends Frequency with Product with Serializable

  13. object SU extends Weekday with Product with Serializable

  14. object TH extends Weekday with Product with Serializable

  15. object TU extends Weekday with Product with Serializable

  16. val TZ_LOCAL: DateTimeZone

    Definition Classes
    package
  17. val TZ_UTC: DateTimeZone

    Definition Classes
    package
  18. object WE extends Weekday with Product with Serializable

  19. object WEEKLY extends Frequency with Product with Serializable

  20. object Weekday extends AnyRef

  21. object YEARLY extends Frequency with Product with Serializable

  22. def datetime(y: Int = 0, m: Int = 0, d: Int = 0, h: Int = 0, t: Int = 0, s: Int = 0, ms: Int = 0, zone: DateTimeZone = TZ_LOCAL): DateTime

    Convenience factory for constructing a DateTime instance

    Convenience factory for constructing a DateTime instance

    Definition Classes
    package
  23. def days(i: Int): Days

    Definition Classes
    package
  24. implicit def dt2rd(dt: DateTime): RichDT

    Definition Classes
    package
  25. implicit def dtOrdering: Ordering[DateTime]

    Provides an implicit ordering for DateTime

    Provides an implicit ordering for DateTime

    Definition Classes
    package
  26. implicit def indexTimeAccessors(ix: Index[DateTime]): TimeAccessors[Index[Int]]

    Enrichment methods for Index[DateTime]

    Enrichment methods for Index[DateTime]

    Definition Classes
    package
  27. def months(i: Int): Months

    Definition Classes
    package
  28. def parsedate(s: String, euro: Boolean = false): Option[DateTime]

    Convenience method for constructing a DateTime instance from a date string

    Convenience method for constructing a DateTime instance from a date string

    s

    String representing the date

    euro

    Whether to use the european format, eg 2/5/2012 => 2nd of May, 2012

    Definition Classes
    package
  29. def quarters(i: Int): Months

    Definition Classes
    package
  30. implicit def rd2dt(rd: RichDT): DateTime

    Definition Classes
    package
  31. implicit def vecTimeAccessors(vec: Vec[DateTime]): TimeAccessors[Vec[Int]]

    Enrichment methods for Vec[DateTime]

    Enrichment methods for Vec[DateTime]

    Definition Classes
    package
  32. def weeks(i: Int): Weeks

    Definition Classes
    package
  33. def years(i: Int): Years

    Definition Classes
    package