Searched refs:DelayedFormat (Results 1 – 7 of 7) sorted by relevance
/external/rust/crates/chrono/src/ |
D | date.rs | 16 use format::{DelayedFormat, Item, StrftimeItems}; 284 pub fn format_with_items<'a, I, B>(&self, items: I) -> DelayedFormat<I> in format_with_items() 289 DelayedFormat::new_with_offset(Some(self.naive_local()), None, &self.offset, items) in format_with_items() 297 pub fn format<'a>(&self, fmt: &'a str) -> DelayedFormat<StrftimeItems<'a>> { in format() 308 ) -> DelayedFormat<I> in format_localized_with_items() 313 DelayedFormat::new_with_offset_and_locale( in format_localized_with_items() 331 ) -> DelayedFormat<StrftimeItems<'a>> { in format_localized()
|
D | datetime.rs | 21 use format::DelayedFormat; 481 pub fn format_with_items<'a, I, B>(&self, items: I) -> DelayedFormat<I> in format_with_items() 487 DelayedFormat::new_with_offset(Some(local.date()), Some(local.time()), &self.offset, items) in format_with_items() 495 pub fn format<'a>(&self, fmt: &'a str) -> DelayedFormat<StrftimeItems<'a>> { in format() 506 ) -> DelayedFormat<I> in format_localized_with_items() 512 DelayedFormat::new_with_offset_and_locale( in format_localized_with_items() 530 ) -> DelayedFormat<StrftimeItems<'a>> { in format_localized()
|
/external/rust/crates/chrono/src/format/ |
D | mod.rs | 719 pub struct DelayedFormat<I> { struct 733 impl<'a, I: Iterator<Item = B> + Clone, B: Borrow<Item<'a>>> DelayedFormat<I> { implementation 735 pub fn new(date: Option<NaiveDate>, time: Option<NaiveTime>, items: I) -> DelayedFormat<I> { in new() 736 DelayedFormat { date: date, time: time, off: None, items: items, locale: None } in new() 745 ) -> DelayedFormat<I> in new_with_offset() 750 DelayedFormat { in new_with_offset() 766 ) -> DelayedFormat<I> { in new_with_locale() 767 DelayedFormat { date: date, time: time, off: None, items: items, locale: Some(locale) } in new_with_locale() 778 ) -> DelayedFormat<I> in new_with_offset_and_locale() 783 DelayedFormat { in new_with_offset_and_locale() [all …]
|
/external/rust/crates/chrono/src/naive/ |
D | time.rs | 14 use format::DelayedFormat; 747 pub fn format_with_items<'a, I, B>(&self, items: I) -> DelayedFormat<I> in format_with_items() 752 DelayedFormat::new(None, Some(*self), items) in format_with_items() 791 pub fn format<'a>(&self, fmt: &'a str) -> DelayedFormat<StrftimeItems<'a>> { in format()
|
D | datetime.rs | 15 use format::DelayedFormat; 655 pub fn format_with_items<'a, I, B>(&self, items: I) -> DelayedFormat<I> in format_with_items() 660 DelayedFormat::new(Some(self.date), Some(self.time), items) in format_with_items() 697 pub fn format<'a>(&self, fmt: &'a str) -> DelayedFormat<StrftimeItems<'a>> { in format()
|
D | date.rs | 15 use format::DelayedFormat; 1003 pub fn format_with_items<'a, I, B>(&self, items: I) -> DelayedFormat<I> in format_with_items() 1008 DelayedFormat::new(Some(*self), None, items) in format_with_items() 1045 pub fn format<'a>(&self, fmt: &'a str) -> DelayedFormat<StrftimeItems<'a>> { in format()
|
/external/rust/crates/chrono/ |
D | CHANGELOG.md | 164 * Correctly pad DelayedFormat (@SamokhinIlya #320) 604 - `DelayedFormat` no longer conveys a redundant lifetime.
|