-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change type of timestamp-variants to u128 (#50)
- Loading branch information
Showing
2 changed files
with
12 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
pub const MINUTES_PER_HOUR: usize = 60; | ||
pub const SECONDS_PER_MINUTE: usize = 60; | ||
pub const MILLIS_PER_SECOND: usize = 1000; | ||
pub const NANOS_PER_MILLI: usize = 1_000_000; | ||
pub const MINUTES_PER_HOUR: u128 = 60; | ||
pub const SECONDS_PER_MINUTE: u128 = 60; | ||
pub const MILLIS_PER_SECOND: u128 = 1000; | ||
pub const NANOS_PER_MILLI: u128 = 1_000_000; | ||
|
||
#[cfg(test)] | ||
pub const MICROS_PER_NANO: usize = 1000; | ||
pub const MICROS_PER_NANO: u128 = 1000; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters