What's Changed
Enhancements
- Implements
Date
'sadd
,subtract
,until
, andsince
methods by @nekevss in #35 - Implement Time's until and since methods by @nekevss in #36
- Add struct to encapsulate invariants of rounding increments by @jedel1043 in #49
- Cleanup rounding increment usages with new struct by @jedel1043 in #54
- Update increment rounding functionality by @nekevss in #53
- Implement add and subtract methods for Duration by @nekevss in #74
Bug Fixes
- Patch
(un)balance_relative
to avoid panicking by @jedel1043 in #48 - Fix rounding when the dividend is smaller than the divisor by @jedel1043 in #57
- Ensure parsing throws when duplicate calendar is critical by @jedel1043 in #58
- Avoid overflowing when calling
NormalizedTimeDuration::add_days
by @jedel1043 in #61 - Reject
IsoDate
when outside the allowed range by @jedel1043 in #62 - Ensure parsing throws with unknown critical annotations by @jedel1043 in #63
Other Changes
- Fix clippy lints and bump bitflags version by @nekevss in #38
- Fix panics when no relative_to is supplied to round by @nekevss in #40
- Implement add & subtract methods for
DateTime
component by @nekevss in #45 - Fix method call in days_in_month by @nekevss in #46
- Bump
icu_calendar
to 1.5 by @jedel1043 in #47 - Migrate parsing to
ixdtf
crate by @nekevss in #50 - Implement the
toYearMonth
,toMonthDay
, andtoDateTime
forDate
component by @nekevss in #56 - Use groups in dependabot updates by @jedel1043 in #69
- Remove
CalendarProtocol
andTimeZoneProtocol
by @jedel1043 in #66 - Update duration rounding to new algorithms by @nekevss in #65
- Update duration validation and switch asserts to debug-asserts by @nekevss in #73
- Implement PartialEq and Eq for
Calendar
,Date
, andDateTime
by @nekevss in #75 - Bump
temporal_rs
version and update changelog by @nekevss in #76
Full Changelog: v0.0.2...v0.0.3