• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

unicode-org / icu4x / 17575631418

09 Sep 2025 07:48AM UTC coverage: 72.93% (+0.01%) from 72.917%
17575631418

push

github

web-flow
Add RataDie::in_well_behaved_astronomical_range(), use to avoid panics (#6876)

Attempting to address https://github.com/unicode-org/icu4x/issues/4917,
https://github.com/unicode-org/icu4x/issues/5068,
https://issues.chromium.org/issues/439624688.

Related: https://github.com/unicode-org/icu4x/issues/5778

https://github.com/tc39/proposal-temporal/issues/2869 has told us that
we are allowed to break calendar-internal invariants outside of the
useful range of the calendar.

We currently hit debug assertions for some of these dates. This patches
it up by

This is a partial PR, I haven't fixed all of the assertions. We'll
likely have to make the function in calendrical_calculations pub+hidden
(or make a copy in `icu_calendar`) and use it.

I would like feedback on the approach.

23 of 38 new or added lines in 5 files covered. (60.53%)

9 existing lines in 7 files now uncovered.

60523 of 82988 relevant lines covered (72.93%)

469784.62 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

91.94
/components/datetime/src/provider/pattern/reference/parser.rs


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc