time::format_description::parse::format_item

Function parse_from_modifier_value

source
fn parse_from_modifier_value<T: FromStr>(
    value: &Spanned<&[u8]>,
) -> Result<Option<T>, Error>
Expand description

Parse a modifier value using FromStr. Requires the modifier value to be valid UTF-8.