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

unicode-org / icu4x / 17047017551
73%

Build:
DEFAULT BRANCH: main
Ran 18 Aug 2025 05:05PM UTC
Jobs 1
Files 982
Run time 5min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

18 Aug 2025 04:53PM UTC coverage: 72.774% (+0.02%) from 72.759%
17047017551

push

github

web-flow
zoneinfo64: make offset_idx/offset_at low level APIs that work purely on the transition table (#6872)

Split out of https://github.com/unicode-org/icu4x/pull/6842, requested
by Robert.

Currently, `offset_at` defaults to attempting to resolve the timezone
rule when given an out-of-range offset. This makes it a higher level API
that is attempting to resolve an offset against both the transitions
table and the offset table (which is what `for_timestamp` does). A lower
level API without this behavior where it *only* works with the
transitions table is useful for clarity, and will become more useful
when we implement prev/next transitions (where resolving
`offset_at(len)` as the next rule is not enough, you need to know which
precise date to resolve it as).

This also splits `Offset` (the return value of offset detection) and
`Transition` (the lower level return value of `offset_at`), because the
`since` value isn't useful to callers and will be wasted effort when
working on Rules.

I've spent some time improving the tests here: we now test more locales
by default; and test invariants.

Most of these locale tests don't test anything meaningful yet since
rules aren't implemented.

120 of 150 new or added lines in 2 files covered. (80.0%)

8 existing lines in 5 files now uncovered.

59874 of 82274 relevant lines covered (72.77%)

467479.24 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
13
77.01
6.88% utils/zoneinfo64/src/lib.rs
17
61.46
-7.29% utils/zoneinfo64/src/rule.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
73.5
-0.09% components/collator/src/comparison.rs
1
41.88
-0.1% components/datetime/src/pattern/names.rs
2
95.71
-2.86% components/experimental/src/dimension/currency/compact_format.rs
2
77.01
6.88% utils/zoneinfo64/src/lib.rs
2
61.46
-7.29% utils/zoneinfo64/src/rule.rs
Jobs
ID Job ID Ran Files Coverage
1 17047017551.1 18 Aug 2025 05:05PM UTC 982
72.77
GitHub Action Run
Source Files on build 17047017551
  • Tree
  • List 982
  • Changed 6
  • Source Changed 2
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #17047017551
  • 42312a3f on github
  • Prev Build on main (#17044913795)
  • Next Build on main (#17053798623)
  • Delete
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