chrono_intervals/grouping.rs
1//! Time intervals grouping.
2//!
3//! Specify in which chunks time intervals should be grouped. Time intervals
4//! with e.g. `Grouping::PerDay` have a length of 24h minus the duration of
5//! `end_precision` (default 1ms).
6//! Intervals per week start on Monday and end on Sunday night.
7pub enum Grouping {
8 PerDay,
9 PerWeek,
10 PerMonth,
11}