API · fn
parts_of_span
pub fn parts_of_span(@moondate.Span) -> (Int64, Int32)
The whole seconds and the sub-second nanoseconds of a span. The nanoseconds are normalised into [0, 1e9), borrowing a second when the span is negative.
Generated from src/pkg.generated.mbti and the doc comments beside this declaration.