/external/rust/crates/chrono/src/ |
D | round.rs | 370 let dt = Utc.ymd(2012, 12, 12).and_hms_milli(18, 22, 30, 0); in test_duration_round() 376 let dt = Utc.ymd(2012, 12, 12).and_hms_milli(18, 22, 29, 999); in test_duration_round() 419 let dt = Utc.ymd(2012, 12, 12).and_hms_milli(18, 22, 30, 0); in test_duration_trunc() 425 let dt = Utc.ymd(2012, 12, 12).and_hms_milli(18, 22, 29, 999); in test_duration_trunc()
|
D | datetime.rs | 2293 EDT.ymd(2015, 2, 18).and_hms_milli(23, 16, 9, 150).to_rfc2822(), in test_datetime_rfc2822_and_rfc3339() 2297 EDT.ymd(2015, 2, 18).and_hms_milli(23, 16, 9, 150).to_rfc3339(), in test_datetime_rfc2822_and_rfc3339() 2323 Ok(EDT.ymd(2015, 2, 18).and_hms_milli(23, 59, 59, 1_000)) in test_datetime_rfc2822_and_rfc3339() 2365 Ok(FixedOffset::east(0).ymd(2015, 2, 18).and_hms_milli(23, 16, 9, 150)) in test_datetime_from_str() 2369 Ok(Utc.ymd(2015, 2, 18).and_hms_milli(23, 16, 9, 150)) in test_datetime_from_str() 2373 Ok(Utc.ymd(2015, 2, 18).and_hms_milli(23, 16, 9, 150)) in test_datetime_from_str() 2377 Ok(Utc.ymd(2015, 2, 18).and_hms_milli(23, 16, 9, 150)) in test_datetime_from_str() 2382 Ok(FixedOffset::east(0).ymd(2015, 2, 18).and_hms_milli(23, 16, 9, 150)) in test_datetime_from_str() 2386 Ok(FixedOffset::west(10 * 3600).ymd(2015, 2, 18).and_hms_milli(13, 16, 9, 150)) in test_datetime_from_str() 2392 Ok(Utc.ymd(2015, 2, 18).and_hms_milli(23, 16, 9, 150)) in test_datetime_from_str() [all …]
|
D | date.rs | 101 pub fn and_hms_milli(&self, hour: u32, min: u32, sec: u32, milli: u32) -> DateTime<Tz> { in and_hms_milli() method
|
/external/rust/crates/chrono/src/naive/ |
D | datetime.rs | 1509 to_string(&NaiveDate::from_ymd(2016, 7, 8).and_hms_milli(9, 10, 48, 90)).ok(), in test_encodable_json() 1517 to_string(&NaiveDate::from_ymd(0, 1, 1).and_hms_milli(0, 0, 59, 1_000)).ok(), in test_encodable_json() 1544 Some(NaiveDate::from_ymd(2016, 7, 8).and_hms_milli(9, 10, 48, 90)) in test_decodable_json() 1548 Some(NaiveDate::from_ymd(2016, 7, 8).and_hms_milli(9, 10, 48, 90)) in test_decodable_json() 1556 Some(NaiveDate::from_ymd(0, 1, 1).and_hms_milli(0, 0, 59, 1_000)) in test_decodable_json() 1560 Some(NaiveDate::from_ymd(0, 1, 1).and_hms_milli(0, 0, 59, 1_000)) in test_decodable_json() 2218 let dt = NaiveDate::from_ymd(2016, 7, 8).and_hms_milli(9, 10, 48, 90); in test_serde_bincode() 2468 let dt = NaiveDate::from_ymd(2010, 9, 8).and_hms_milli(7, 6, 54, 321); in test_datetime_format() 2474 let dt = NaiveDate::from_ymd(2012, 6, 30).and_hms_milli(23, 59, 59, 1_000); in test_datetime_format()
|
D | date.rs | 616 pub fn and_hms_milli(&self, hour: u32, min: u32, sec: u32, milli: u32) -> NaiveDateTime { in and_hms_milli() method
|
/external/rust/crates/chrono/src/offset/ |
D | local.rs | 213 let dt = today.and_hms_milli(1, 2, 59, 1000); in test_leap_second() 219 let dt = today.and_hms_milli(1, 2, 3, 1234); in test_leap_second()
|
/external/rust/crates/chrono/ |
D | README.md | 163 let dt = Utc.ymd(2014, 7, 8).and_hms_milli(9, 10, 11, 12); // `2014-07-08T09:10:11.012Z` 175 let local_dt = Local.ymd(2014, 7, 8).and_hms_milli(9, 10, 11, 12); 176 let fixed_dt = FixedOffset::east(9 * 3600).ymd(2014, 7, 8).and_hms_milli(18, 10, 11, 12); 365 assert_eq!(Utc.ymd(2014, 11, 28).and_hms_milli(7, 8, 9, 10).format("%H%M%S").to_string(),
|