minted_chronology 1.0.0
minted_chronology: ^1.0.0 copied to clipboard
Well-modelled Dart value types for calendar dates and durations: Date, Month, Weekday and Iso8601Duration. Parse, don't validate. Part of the minted family.
minted_chronology #
Calendar dates and durations as well-modelled value types.
Part of the minted family: pure-Dart value types built on parse, don't validate, so anything that came through the parser is well-formed by construction.
Holds Date, Month, Weekday, Iso8601Duration.
Every value it hands you is well-formed by construction: build one through parse, which
returns a ParseOutcome carrying either the value or a typed failure, or tryParse, which
returns null. No door throws.
The shared vocabulary (ParseOutcome, MintedFailure, Digit, Digits, the Uint tower)
comes from minted, which this package depends on. Take
only the domains you use: nothing here drags in another domain's engine.