Home
last modified time | relevance | path

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

/external/rust/crates/chrono/src/naive/
Dtime.rs357 pub fn from_hms_nano(hour: u32, min: u32, sec: u32, nano: u32) -> NaiveTime { in from_hms_nano() method
1361 to_string(&NaiveTime::from_hms_nano(3, 5, 7, 98765432)).ok(), in test_encodable_json()
1370 to_string(&NaiveTime::from_hms_nano(23, 59, 59, 1_999_999_999)).ok(), in test_encodable_json()
1389 Some(NaiveTime::from_hms_nano(3, 5, 7, 98765432)) in test_decodable_json()
1398 Some(NaiveTime::from_hms_nano(23, 59, 59, 1_999_999_999)) in test_decodable_json()
1402 Some(NaiveTime::from_hms_nano(23, 59, 59, 1_999_999_999)) in test_decodable_json()
1518 let t = NaiveTime::from_hms_nano(3, 5, 7, 98765432); in test_serde_bincode()
1536 Some(NaiveTime::from_hms_nano(3, 5, 7, 0)) in test_time_from_hms_milli()
1540 Some(NaiveTime::from_hms_nano(3, 5, 7, 777_000_000)) in test_time_from_hms_milli()
1544 Some(NaiveTime::from_hms_nano(3, 5, 7, 1_999_000_000)) in test_time_from_hms_milli()
[all …]
/external/rust/crates/chrono/src/offset/
Dlocal.rs40 let time = NaiveTime::from_hms_nano( in tm_to_datetime()
/external/rust/crates/chrono/src/format/
Dparsed.rs996 let hmsn = |h, m, s, n| Ok(NaiveTime::from_hms_nano(h, m, s, n)); in test_parsed_to_naive_time()