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

unicode-org / icu4x / 17047017551 / 1
73%
main: 73%

Build:
DEFAULT BRANCH: main
Ran 18 Aug 2025 05:05PM UTC
Files 982
Run time 35s
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.1

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.

59874 of 82274 relevant lines covered (72.77%)

467479.24 hits per line

Source Files on job 17047017551.1
  • Tree
  • List 982
  • Changed 6
  • Source Changed 2
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 17047017551
  • 42312a3f on github
  • Prev Job for on main (#17044913795.1)
  • Next Job for on main (#17053798623.1)
  • 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