time::formatting

Function fmt_year

Source
fn fmt_year(
    output: &mut impl Write,
    date: Date,
    _: Year,
) -> Result<usize, Format>
Available on crate feature formatting only.
Expand description

Format the year into the designated output.