1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
// Ported and adapted from influxdb.
// Credits to their work.
// https://github.com/influxdata/influxdb_iox/blob/main/query/src/func/window/internal.rs
// https://github.com/influxdata/flux/blob/3d6c47d9113fe0d919ddd3d4eef242dfc38ab2fb/interval/window.go
// https://github.com/influxdata/flux/blob/1e9bfd49f21c0e679b42acf6fc515ce05c6dec2b/values/time.go#L40
mod bounds;
mod calendar;
mod duration;
pub mod export;
pub mod groupby;
#[cfg(test)]
mod test;
mod window;
pub use {
    calendar::date_range as date_range_vec, duration::Duration, groupby::ClosedWindow,
    window::Window,
};