oxedyne/fe2o3/fe2o3_datime/src/clock/mod.rs
721 bytes, 5 runs
created by r1870400018:6327, which is this file's identity for as long as the history lasts, whatever it is later renamed to
download · who wrote it · its history
| 1 | //! [Written with AI entirely](https://need2know.ai/entirely-ai/code)\ |
| 2 | //! Anthropic Claude |
| 3 | |
| 4 | pub mod time; |
| 5 | pub mod hour; |
| 6 | pub mod minute; |
| 7 | pub mod second; |
| 8 | pub mod nanosecond; |
| 9 | pub mod millisecond; |
| 10 | pub mod microsecond; |
| 11 | pub mod duration; |
| 12 | pub mod interval; |
| 13 | pub mod fields; |
| 14 | pub mod periods; |
| 15 | |
| 16 | pub use time::ClockTime; |
| 17 | pub use hour::ClockHour; |
| 18 | pub use minute::ClockMinute; |
| 19 | pub use second::ClockSecond; |
| 20 | pub use nanosecond::ClockNanoSecond; |
| 21 | pub use millisecond::ClockMilliSecond; |
| 22 | pub use microsecond::ClockMicroSecond; |
| 23 | pub use duration::ClockDuration; |
| 24 | pub use interval::ClockInterval; |
| 25 | pub use fields::ClockFields; |
| 26 | pub use periods::{HourPeriod, MinutePeriod, SecondPeriod}; |
| 27 | |
| 28 | pub trait PerSecondRated { |
| 29 | fn per_second(&self) -> u64; |
| 30 | } |