pub fn parse_microsecond_digits(
micros_str: &str,
) -> Result<u32, FormatParseError>Expand description
Parse a fractional-second digit run to microseconds in 0..=999_999.
Truncates to six digits when longer; right-pads with zeros when shorter
(same rules as the previous datetime::common::parse_microseconds in pyo3).