Home
last modified time | relevance | path

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

/external/rust/crates/chrono/src/offset/
Dmod.rs96 pub fn and_hms_opt(self, hour: u32, min: u32, sec: u32) -> LocalResult<DateTime<Tz>> { in and_hms_opt() method
99 d.and_hms_opt(hour, min, sec).map_or(LocalResult::None, LocalResult::Single) in and_hms_opt()
/external/rust/crates/chrono/src/
Ddate.rs83 self.and_hms_opt(hour, min, sec).expect("invalid time") in and_hms()
91 pub fn and_hms_opt(&self, hour: u32, min: u32, sec: u32) -> Option<DateTime<Tz>> { in and_hms_opt() method
/external/rust/crates/chrono/
DREADME.md168 assert_eq!(Utc.ymd_opt(2014, 7, 8).and_hms_opt(21, 15, 33),
170 assert_eq!(Utc.ymd_opt(2014, 7, 8).and_hms_opt(80, 15, 33), LocalResult::None);
171 assert_eq!(Utc.ymd_opt(2014, 7, 38).and_hms_opt(21, 15, 33), LocalResult::None);
/external/rust/crates/chrono/src/naive/
Ddate.rs569 self.and_hms_opt(hour, min, sec).expect("invalid time") in and_hms()
591 pub fn and_hms_opt(&self, hour: u32, min: u32, sec: u32) -> Option<NaiveDateTime> { in and_hms_opt() method