[ANN] betacalendars 1.0.0 — deterministic date and calendar utilities

I’m happy to announce the first stable release of betacalendars, an OCaml library for timezone-independent civil-date arithmetic and deterministic calendar generation.

The library provides Gregorian date operations, configurable month and year grids, bounded recurrence rules, and date-range and calendar-boundary utilities. It is designed for predictable date-only work without relying on local time zones.

Install it with opam:

opam update
opam install betacalendars

The package has been tested with OCaml 4.14 and 5.5, including its test suite and generated documentation. Feedback and questions are welcome.

3 Likes

Hey congrats!

It’s always good to see new ocaml libraries.

It’s a weird coincidence as I was just wondering if I needed clamping for a recurrence rule I’m implementing, and 1 hour late I see your post :exploding_head:

How does betacalendars compare with the existing date related library in the ecosystem? (I’m thinking about calendar and timere in particular)

1 Like