public class DateTimeIteratorFactory
extends java.lang.Object
Iterator<DateTime> and
Iterable<DateTime>.RecurrenceIteratorFactory| Modifier and Type | Method and Description |
|---|---|
static DateTimeIterable |
createDateTimeIterable(java.lang.String rdata,
org.joda.time.ReadableDateTime start,
org.joda.time.DateTimeZone tzid,
boolean strict)
given a block of RRULE, EXRULE, RDATE, and EXDATE content lines, parse
them into a single date time iterable.
|
static DateTimeIterator |
createDateTimeIterator(RecurrenceIterator rit)
creates a date-time iterator given a recurrence iterator from
RecurrenceIteratorFactory. |
static DateTimeIterator |
createDateTimeIterator(java.lang.String rdata,
org.joda.time.ReadableDateTime start,
org.joda.time.DateTimeZone tzid,
boolean strict)
given a block of RRULE, EXRULE, RDATE, and EXDATE content lines, parse
them into a single date time iterator.
|
public static DateTimeIterator createDateTimeIterator(java.lang.String rdata, org.joda.time.ReadableDateTime start, org.joda.time.DateTimeZone tzid, boolean strict) throws java.text.ParseException
rdata - RRULE, EXRULE, RDATE, and EXDATE lines.start - the first occurrence of the series.tzid - the local timezone -- used to interpret start and any dates in
RDATE and EXDATE lines that don't have TZID params.strict - true if any failure to parse should result in a
ParseException. false causes bad content lines to be logged and ignored.java.text.ParseExceptionpublic static DateTimeIterable createDateTimeIterable(java.lang.String rdata, org.joda.time.ReadableDateTime start, org.joda.time.DateTimeZone tzid, boolean strict) throws java.text.ParseException
rdata - RRULE, EXRULE, RDATE, and EXDATE lines.start - the first occurrence of the series.tzid - the local timezone -- used to interpret start and any dates in
RDATE and EXDATE lines that don't have TZID params.strict - true if any failure to parse should result in a
ParseException. false causes bad content lines to be logged and ignored.java.text.ParseExceptionpublic static DateTimeIterator createDateTimeIterator(RecurrenceIterator rit)
RecurrenceIteratorFactory.