[−][src]Struct rrule::RRuleSet
Fields
rrule: Vec<RRule>
rdate: Vec<DateTime<Tz>>
exrule: Vec<RRule>
exdate: Vec<DateTime<Tz>>
dtstart: Option<DateTime<Tz>>
Implementations
impl RRuleSet
[src]
pub fn new() -> Self
[src]
pub fn rrule(&mut self, rrule: RRule)
[src]
pub fn exrule(&mut self, rrule: RRule)
[src]
pub fn rdate(&mut self, rdate: DateTime<Tz>)
[src]
pub fn exdate(&mut self, exdate: DateTime<Tz>)
[src]
pub fn all(&mut self) -> Vec<DateTime<Tz>>
[src]
pub fn before(&mut self, date: DateTime<Tz>, inc: bool) -> Vec<DateTime<Tz>>
[src]
Returns the last recurrence before the given datetime instance. The inc keyword defines what happens if dt is an occurrence. With inc == true, if dt itself is an occurrence, it will be returned.
pub fn after(&mut self, date: DateTime<Tz>, inc: bool) -> Vec<DateTime<Tz>>
[src]
Returns the last recurrence after the given datetime instance. The inc keyword defines what happens if dt is an occurrence. With inc == true, if dt itself is an occurrence, it will be returned.
pub fn between(
&mut self,
after: DateTime<Tz>,
before: DateTime<Tz>,
inc: bool
) -> Vec<DateTime<Tz>>
[src]
&mut self,
after: DateTime<Tz>,
before: DateTime<Tz>,
inc: bool
) -> Vec<DateTime<Tz>>
Returns all the occurrences of the rrule between after and before. The inc keyword defines what happens if after and/or before are themselves occurrences. With inc == True, they will be included in the list, if they are found in the recurrence set.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for RRuleSet
impl Send for RRuleSet
impl Sync for RRuleSet
impl Unpin for RRuleSet
impl UnwindSafe for RRuleSet
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,