Function time::format_description::parse::format_item::component_from_ast
source ยท fn component_from_ast(
name: &Spanned<&[u8]>,
modifiers: &[Modifier<'_>],
) -> Result<Component, Error>
Expand description
Parse a component from the AST, given its name and modifiers.