Function time::parsing::combinator::sign

source ·
pub(crate) const fn sign(input: &[u8]) -> Option<ParsedItem<'_, u8>>
Available on crate feature parsing only.
Expand description

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