Home
last modified time | relevance | path

Searched defs:NaiveTime (Results 1 – 7 of 7) sorted by relevance

/external/rust/crates/chrono/src/naive/
Dtime.rs182 pub struct NaiveTime { struct
187 impl NaiveTime { impl
207 pub fn from_hms(hour: u32, min: u32, sec: u32) -> NaiveTime { in from_hms()
232 pub fn from_hms_opt(hour: u32, min: u32, sec: u32) -> Option<NaiveTime> { in from_hms_opt()
255 pub fn from_hms_milli(hour: u32, min: u32, sec: u32, milli: u32) -> NaiveTime { in from_hms_milli()
282 pub fn from_hms_milli_opt(hour: u32, min: u32, sec: u32, milli: u32) -> Option<NaiveTime> { in from_hms_milli_opt()
307 pub fn from_hms_micro(hour: u32, min: u32, sec: u32, micro: u32) -> NaiveTime { in from_hms_micro()
334 pub fn from_hms_micro_opt(hour: u32, min: u32, sec: u32, micro: u32) -> Option<NaiveTime> { in from_hms_micro_opt()
357 pub fn from_hms_nano(hour: u32, min: u32, sec: u32, nano: u32) -> NaiveTime { in from_hms_nano()
384 pub fn from_hms_nano_opt(hour: u32, min: u32, sec: u32, nano: u32) -> Option<NaiveTime> { in from_hms_nano_opt()
[all …]
Ddatetime.rs252 pub fn time(&self) -> NaiveTime { in time()
/external/rust/crates/chrono/src/offset/
Dfixed.rs164 impl Add<FixedOffset> for NaiveTime { implementation
168 fn add(self, rhs: FixedOffset) -> NaiveTime { in add()
173 impl Sub<FixedOffset> for NaiveTime { implementation
177 fn sub(self, rhs: FixedOffset) -> NaiveTime { in sub()
/external/rust/crates/chrono/src/format/
Dmod.rs394 time: Option<&NaiveTime>, in format_item()
407 time: Option<&NaiveTime>, in format_inner()
692 time: Option<&NaiveTime>, in format()
735 pub fn new(date: Option<NaiveDate>, time: Option<NaiveTime>, items: I) -> DelayedFormat<I> { in new()
742 time: Option<NaiveTime>, in new_with_offset()
763 time: Option<NaiveTime>, in new_with_locale()
774 time: Option<NaiveTime>, in new_with_offset_and_locale()
857 time: Option<&NaiveTime>, in format_item_localized()
873 time: Option<&NaiveTime>, in format_localized()
Dparsed.rs529 pub fn to_naive_time(&self) -> ParseResult<NaiveTime> { in to_naive_time()
/external/rust/crates/rusqlite/src/types/
Dchrono.rs31 impl ToSql for NaiveTime { implementation
39 impl FromSql for NaiveTime { implementation
/external/rust/crates/chrono/src/
Ddatetime.rs108 pub fn time(&self) -> NaiveTime { in time()