Package com.kosherjava.zmanim


package com.kosherjava.zmanim
The KosherJava Zmanim library is an API for a specialized calendar that can calculate different astronomical times including sunrise and sunset and Jewish zmanim or religious times for prayers and other Jewish religious duties. The calendars are built on java.time: the date is set with setLocalDate(LocalDate), and zmanim are returned as Instants (or Durations for temporal hours / sha'os zmaniyos). For non-religious astronomical / solar calculations such as sunrise, sunset and twilight, use the AstronomicalCalendar. The ZmanimCalendar contains the most commonly used zmanim or religious time calculations. For a much more extensive list of zmanim use the ComprehensiveZmanimCalendar. Note: It is important to read the technical notes on top of the AstronomicalCalculator documentation.

Disclaimer:

I did my best to get accurate results using standardized astronomical calculations. Please use care when using the library since people rely on the zmanim calculations for halacha lemaaseh.
Author:
© Eliyahu Hershfeld 2004 - 2026