Struct recurdates::ReDateTime [] [src]

pub struct ReDateTime {
    pub at: DateTime<Utc>,
    pub repeat: RepeatEvery,
    pub until: DateTime<Utc>,
}

ReDateTime struct represents recurring datetime object starting at at and repeating every repeat up to until (inclusive).

Fields

Methods

impl ReDateTime
[src]

[src]

ReDateTime with no repeat.

[src]

ReDateTime with infinite repeat.

[src]

ReDateTime with a finite number of repeats.

[src]

True if there is no repeat after or on dt.

[src]

True if there is a repeat between df (inclusive) and dt (inclusive). df always comes earlier than dt.

[src]

First repeat after df (inclusive).

[src]

An iterator visiting datetimes in order. If repeat is negative, the iterator runs in reverse-chronological order.

Trait Implementations

impl Clone for ReDateTime
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for ReDateTime
[src]

[src]

Formats the value using the given formatter.