diff options
author | Fredrik Meringdal <fmeringdal@hotmail.com> | 2020-11-03 21:40:57 +0100 |
---|---|---|
committer | Fredrik Meringdal <fmeringdal@hotmail.com> | 2020-11-03 21:40:57 +0100 |
commit | 9755c753adcda41620d9609102bc03ce278257f9 (patch) | |
tree | bd57ec7658306112901989c77dd3e7a217fd8ab6 /src/lib.rs | |
parent | d28241cf589d2773bd3e28e05ca173c58561e913 (diff) | |
download | rust_rrule-9755c753adcda41620d9609102bc03ce278257f9.zip |
tpos
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -7,13 +7,13 @@ //! provided by the [chrono](https://crates.io/crates/chrono) and [chrono-tz](https://crates.io/crates/chrono-tz) crates. //! //! # Building RRule and RRuleSet -//! Both of the types implements the `std::str::FromStr` trait so that they can be parsed and built from a `str`. `RRule` +//! Both types implements the `std::str::FromStr` trait so that they can be parsed and built from a `str`. `RRule` //! can additionally be constructured from the `Option` type which help build the recurrence rule. `RRuleSet` //! can also be built by composing mutliple `RRule`s for its rrule and exrule properties and DateTime<Tz> for its //! exdate and rdate properties. See the examples below. //! //! # Interface -//! `RRule` and `RRuleSet` have the same interface for generating recurrences. The four methods for "querying" recurrences are: +//! `RRule` and `RRuleSet` have the same interface for generating recurrences. The four methods for "querying" for recurrences are: //! - `all`: Generate all recurrences that matches the rules //! - `between`: Generate all recurrences that matches the rules and are between two given dates //! - `before`: Generate the last recurrence that matches the rules and is before a given date |