chrono::format

Function format

Source
pub fn format<'a, I, B>(
    w: &mut Formatter<'_>,
    date: Option<&NaiveDate>,
    time: Option<&NaiveTime>,
    off: Option<&(String, FixedOffset)>,
    items: I,
) -> Result
where I: Iterator<Item = B> + Clone, B: Borrow<Item<'a>>,
👎Deprecated since 0.4.32: Use DelayedFormat::fmt instead
Expand description

Tries to format given arguments with given formatting items. Internally used by DelayedFormat.