1 2 3 4 5 6
//! Miscellaneous constants pub const days_per_year: f64 = 365.25; pub const hours_per_day: f64 = 24.0; pub const sec_per_hour: f64 = 3600.0; pub const sec_per_mil_year: f64 = sec_per_hour * hours_per_day * days_per_year * 10e6;