time::parsing::combinator

Function sign

source
pub(crate) const fn sign(input: &[u8]) -> Option<ParsedItem<'_, u8>>
Expand description

Parse a “+” or “-” sign. Returns the ASCII byte representing the sign, if present.