Home
last modified time | relevance | path

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

/external/rust/crates/chrono/src/offset/
Dmod.rs325 self.timestamp_opt(secs, nsecs).unwrap() in timestamp()
334 fn timestamp_opt(&self, secs: i64, nsecs: u32) -> LocalResult<DateTime<Self>> { in timestamp_opt() method
381 self.timestamp_opt(secs, millis as u32 * 1_000_000) in timestamp_millis_opt()
403 self.timestamp_opt(secs, nanos as u32).unwrap() in timestamp_nanos()
/external/rust/crates/chrono/src/
Ddatetime.rs995 from(FixedOffset::east(0).timestamp_opt(d.read_i64()?, 0), d).map(TsSeconds) in decode()
1035 from(Utc.timestamp_opt(d.read_i64()?, 0), d).map(TsSeconds) in decode()
1054 from(Utc.timestamp_opt(d.read_i64()?, 0), d) in decode()
1251 Utc.timestamp_opt(value / 1_000_000_000, (value % 1_000_000_000) as u32), in visit_i64()
1262 Utc.timestamp_opt( in visit_u64()
1560 Utc.timestamp_opt(value / 1000, ((value % 1000) * 1_000_000) as u32), in visit_i64()
1571 Utc.timestamp_opt((value / 1000) as i64, ((value % 1000) * 1_000_000) as u32), in visit_u64()
1878 serde_from(Utc.timestamp_opt(value, 0), &value) in visit_i64()
1886 serde_from(Utc.timestamp_opt(value as i64, 0), &value) in visit_u64()
/external/rust/crates/chrono/
DCHANGELOG.md620 via `timestamp` and `timestamp_opt` methods.