// Copyright (C) 2026 Jannik Schürg // // SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: MIT mod csv; pub mod datx; mod event; mod events; mod time; pub use event::{Activity, Event}; pub use events::Events; pub use time::{ActivPalTime, NumSamples}; const HZ: u32 = 10; const S_PER_MIN: u32 = 60; const S_PER_HOUR: u32 = S_PER_MIN * 60; const S_PER_DAY: u32 = 24 * S_PER_HOUR; const SMPS_PER_DAY: u32 = S_PER_DAY * HZ; const GIGA: u64 = 1_000_000_000; const NANO: f64 = 0.000_000_001;