Skip to content

Public date bounds

Latest

Choose a tag to compare

@clarkbw clarkbw released this 26 Nov 16:55
dd9f6b6

Almanac exposes its default supported date bounds in TypeScript, Swift, and Kotlin. Callers can use them to validate timestamps and clip search windows. #121

The interval starts at January 1, 1950 UTC, inclusive, and ends at January 1, 2101 UTC, exclusive. TypeScript exports epoch milliseconds, Swift exports Date values, and Kotlin exports Instant values.

npm install @openwaters/almanac@0.14.0
.package(url: "https://github.com/openwatersio/almanac.git", exact: "0.14.0")