Enumeration of frequency base for utilizing with an RRule
Wrapper of a RFC 2445 RRULE or EXRULE as implemented in the google rfc2445 java library.
Wrapper of a RFC 2445 RRULE or EXRULE as implemented in the google rfc2445 java library.
For _lots_ of examples of recurrence rule constructions, see the following: http://recurrance.sourceforge.net/
To create, start by invoking RRule(frequency), e.g.
RRule(DAILY)
Use setters to construct the rule you want. For instance:
val rule = RRule(DAILY) byWeekDay(TU, TH) withCount(3)
Finally, attach a start date as follows, to get a DateTime iterator:
val iter = rule from datetime(2007,1,1)
By default, the times created will be in LOCAL time; however, you may attach a different time zone (eg, UTC).
Also, you may join rules or add exceptions via the join and except functions. Eg,
val rules = RRule(DAILY) byWeekDay(TU, TH) join { RRule(DAILY) byWeekDay(MO) } val dates = rules from datetime(2006,12,31) take(5) toList
Please note:
Some of the javadoc descriptions of RFC2445 fields are courtesy of python dateutil 2.1: -- http://labix.org/python-dateutil -- https://pypi.python.org/pypi/python-dateutil
Enriched DateTime, helps to simplify Date handling API
Class providing time accessor methods for Vec and Index containing DateTimes
Class providing time accessor methods for Vec and Index containing DateTimes
Enumeration of weekdays for utilizing with an RRule
Weekday + Offset, for utilizing with an RRule
Helpful prepackaged recurrence rules
Convenience factory for constructing a DateTime instance
Provides an implicit ordering for DateTime
Enrichment methods for Index[DateTime]
Convenience method for constructing a DateTime instance from a date string
Convenience method for constructing a DateTime instance from a date string
String representing the date
Whether to use the european format, eg 2/5/2012 => 2nd of May, 2012
Enrichment methods for Vec[DateTime]
Functionality to assist in TimeSeries related operations