zocam — composable time for Elixir

API Reference

All public modules of zocam, generated from the Elixir docstrings by mix docs.

AI SLOP An AI agent wrote the docstrings; mix docs generated this page. yuri4n, a senior engineer, gave the direction and did the review. The review is human, thus errors can stay.

To change this reference, edit the @doc and @moduledoc attributes in lib/, run mix docs in the repository root, and rebuild.

ModuleSummary
ZocamA three-layer library for time: calendar things, sets of them, and concrete intervals.
Zocam.IntervalsThe linear kernel: sets of concrete intervals on one axis, with union, intersection, complement, and difference.
Zocam.ISOOne calendar, checked at the door: Calendar.ISO.
Zocam.PointA calendar point: a concrete or abstract "thing about time".
Zocam.Point.ComposeErrorRaised (or returned) when two points do not compose.
Zocam.SpanSets of instants built from calendar points: arcs, unions, intersections, complements, and ordinal selection.
Zocam.Span.ArcA directed span between two bounds of the same form, with per-side closings, a step, and an overflow policy.

Figure 1 — Every public module of zocam, with the first line of its moduledoc. AI generated, human reviewed.

Copyright © 2026