Skip to main content

Module datetime

Module datetime 

Source
Expand description

Pure datetime-related string parsing (no PyO3).

Shared helpers used by the PyO3 bindings; keep logic here when it has no Python dependency so it can be unit-tested from Rust alone.

Functionsยง

parse_microsecond_digits
Parse a fractional-second digit run to microseconds in 0..=999_999.