pub trait DateFilter<'a, T> where
    &'a Self: 'a + Sized + IntoIterator<IntoIter = T>,
    T: Iterator<Item = DateTime<Tz>> + WithError
{ fn all(&'a self, limit: u16) -> Result<Vec<DateTime<Tz>>, RRuleError> { ... }
fn all_with_error(
        &'a self,
        limit: u16
    ) -> (Vec<DateTime<Tz>>, Option<RRuleError>) { ... }
fn just_before(
        &'a self,
        before: DateTime<Tz>,
        inclusive: bool
    ) -> Result<Option<DateTime<Tz>>, RRuleError> { ... }
fn all_before_with_error(
        &'a self,
        before: DateTime<Tz>,
        inclusive: bool,
        limit: u16
    ) -> (Vec<DateTime<Tz>>, Option<RRuleError>) { ... }
fn just_after(
        &'a self,
        after: DateTime<Tz>,
        inclusive: bool
    ) -> Result<Option<DateTime<Tz>>, RRuleError> { ... }
fn all_after_with_error(
        &'a self,
        after: DateTime<Tz>,
        inclusive: bool,
        limit: u16
    ) -> (Vec<DateTime<Tz>>, Option<RRuleError>) { ... }
fn all_between(
        &'a self,
        start: DateTime<Tz>,
        end: DateTime<Tz>,
        inclusive: bool
    ) -> Result<Vec<DateTime<Tz>>, RRuleError> { ... }
fn all_between_with_error(
        &'a self,
        start: DateTime<Tz>,
        end: DateTime<Tz>,
        inclusive: bool,
        limit: u16
    ) -> (Vec<DateTime<Tz>>, Option<RRuleError>) { ... } }

Provided methods

Returns all the recurrences of the rrule.

Limit must be set in order to prevent infinite loops. The max limit is 65535. If you need more please use into_iter directly.

Returns all the recurrences of the rrule.

Limit must be set in order to prevent infinite loops. The max limit is 65535. If you need more please use into_iter directly.

In case the iterator ended with an error, the error will be included, otherwise the second value of the return tuple will be None.

Returns the last recurrence before the given datetime instance.

The inclusive keyword defines what happens if before is a recurrence. With inclusive == true, if before itself is a recurrence, it will be returned.

Returns all the recurrences of the rrule before the given date.

Limit must be set in order to prevent infinite loops. The max limit is 65535. If you need more please use into_iter directly.

In case the iterator ended with an error, the error will be included, otherwise the second value of the return tuple will be None.

Returns the last recurrence after the given datetime instance.

The inclusive keyword defines what happens if after is a recurrence. With inclusive == true, if after itself is a recurrence, it will be returned.

Returns all the recurrences of the rrule after the given date.

Limit must be set in order to prevent infinite loops. The max limit is 65535. If you need more please use into_iter directly.

In case the iterator ended with an error, the error will be included, otherwise the second value of the return tuple will be None.

Returns all the recurrences of the rrule between after and before.

The inclusive keyword defines what happens if after and/or before are themselves recurrences. With inclusive == true, they will be included in the list, if they are found in the recurrence set.

Returns all the recurrences of the rrule after the given date and before the other date.

Limit must be set in order to prevent infinite loops. The max limit is 65535. If you need more please use into_iter directly.

In case the iterator ended with an error, the error will be included, otherwise the second value of the return tuple will be None.

Implementors