Home
last modified time | relevance | path

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

/external/rust/crates/chrono/src/offset/
Dmod.rs354 fn timestamp_millis(&self, millis: i64) -> DateTime<Self> { in timestamp_millis() method
480 let dt = Utc.timestamp_millis(-1000); in test_negative_millis()
482 let dt = Utc.timestamp_millis(-7000); in test_negative_millis()
484 let dt = Utc.timestamp_millis(-7001); in test_negative_millis()
486 let dt = Utc.timestamp_millis(-7003); in test_negative_millis()
488 let dt = Utc.timestamp_millis(-999); in test_negative_millis()
490 let dt = Utc.timestamp_millis(-1); in test_negative_millis()
492 let dt = Utc.timestamp_millis(-60000); in test_negative_millis()
494 let dt = Utc.timestamp_millis(-3600000); in test_negative_millis()
/external/rust/crates/chrono/tests/
Dwasm.rs54 assert_eq!(now.get_time() as i64, dt.timestamp_millis()); in from_is_exact()
/external/rust/crates/env_logger/src/fmt/humantime/
Dextern_impl.rs52 pub fn timestamp_millis(&self) -> Timestamp { in timestamp_millis() method
/external/rust/crates/env_logger/src/fmt/
Dmod.rs286 Some(Millis) => self.buf.timestamp_millis(), in write_timestamp()
/external/rust/crates/chrono/src/
Ddatetime.rs139 pub fn timestamp_millis(&self) -> i64 { in timestamp_millis() method
140 self.datetime.timestamp_millis() in timestamp_millis()
1509 serializer.serialize_i64(dt.timestamp_millis()) in serialize()
1659 Some(ref dt) => serializer.serialize_some(&dt.timestamp_millis()), in serialize()
/external/rust/crates/chrono/src/naive/
Ddatetime.rs311 pub fn timestamp_millis(&self) -> i64 { in timestamp_millis() method
1978 serializer.serialize_i64(dt.timestamp_millis()) in serialize()
/external/rust/crates/chrono/
DCHANGELOG.md177 * Fix panic on negative inputs to timestamp_millis (@cmars #292)
249 * New `timestamp_millis` method on `DateTime` and `NaiveDateTim` that returns