Home
last modified time | relevance | path

Searched refs:MILLIS_PER_SEC (Results 1 – 1 of 1) sorted by relevance

/external/rust/crates/chrono/src/
Doldtime.rs28 const MILLIS_PER_SEC: i64 = 1000; constant
57 secs: i64::MIN / MILLIS_PER_SEC - 1,
58 nanos: NANOS_PER_SEC + (i64::MIN % MILLIS_PER_SEC) as i32 * NANOS_PER_MILLI,
63 secs: i64::MAX / MILLIS_PER_SEC,
64 nanos: (i64::MAX % MILLIS_PER_SEC) as i32 * NANOS_PER_MILLI,
119 let (secs, millis) = div_mod_floor_64(milliseconds, MILLIS_PER_SEC); in milliseconds()
187 let secs_part = self.num_seconds() * MILLIS_PER_SEC; in num_milliseconds()