Zmanim API 1.2.1 Released

Java in a jar

Note: This post is about an old release. The current version of the KosherJava Zmanim library is available from Maven and GitHub (see the Zmanim Download page).

The Zmanim API 1.2.1 was released today. Changed in this release were the addition of a few very early tzais zmanim, and the removal of references to the GregorianCalendar in favor of the base Calendar class to ease Noah Blumenthal’s use of the Zmanim API in a zmanim application for the BlackBerry. This change has no impact on functionality as tested using Yitzchok’s new JUnit tests. Additionally, the JavaDoc Zmanim API documentation was modified to clearly indicate that zmanim can return nulls. The follow-up post FAQ: Why Some Zmanim Never Occur (Developers Beware) has details on this.

The main download is the Zmanim 1.2.1 release zip file that includes source files and JavaDoc documentation. Also available for download (included in the above zip file) is the main zmanim-1.2.1.jar and the zmanimAstronomical-1.2.1.jar that only includes the AstronomicalCalendar. The removal of the GregorianCalendar was in this class. Additional detail on the downloads can be seen on the Zmanim Download page.

ZmanimPlasma (Linux) Released

Linux on Wood Background

ZmanimPlasmaMoshe Wagner recently released ZmanimPlasma for the Linux platform. This KDE Plasma desktop widget displays the Hebrew date and zmanim on a Linux desktop. The zmanim calculations use Moshe’s C++ port Zmanim CLI wrapper that enables a C++ program to call the Java Zmanim API. There are no current plans to make this widget available on any other platform. It can be downloaded from the Luach project download page. Moshe has in the past used the Zmanim API for use in Linux and some cross-platform projects. These include the above-mentioned Zmanim CLI, and Zmanim GUI that uses the Zmanim CLI.

Updated on April 13, 2010 כ״ט בניסן תש״ע to reflect information from Moshe explaining that this was not a port.

Zmanim API 1.2 Released

Java in a jar

Note: This post is about an old release. The current version of the KosherJava Zmanim library is available from Maven and GitHub (see the Zmanim Download page).

The Zmanim API 1.2 was released today. The only change in this release is the removal of elevation as a factor in the calculation of all zmanim besides sunrise and sunset. Updated JavaDocs now reflect these changes. Please see the Elevation Now Only Impacts Sunrise and Sunset Calculations in the Zmanim API post for additional information.

I would like to thank the various people who contacted me on the subject.

The main download is the Zmanim 1.2 release zip file that includes source files and JavaDoc documentation. Also available for download (included in the above zip file) is the main zmanim-1.2.jar. The zmanimAstronomical jar that only includes the AstronomicalCalendar was not impacted by this change, but its version has been updated from 1.1 to zmanimAstronomical-1.2.jar for consistency. Additional detail on the downloads can be seen on the Zmanim Download page.

Zmanim API 1.1 Released

Note: This post is about an old release. The current version of the KosherJava Zmanim API is available on GitHub and from the Zmanim Download page.

The Zmanim API 1.1 was released early this morning. Information about what changed in this release can be seen in previous posts about various beta and patch releases. A last-minute change involved the removal of the misheyakir calculations commonly used by the Syrian community. The removal was due to the various minhagim used, and to Chacham Yosef Harari-Raful neither endorsing any specific one nor including any in his calendar. The API is flexible enough to be used for any calculation wanted by the various Syrian shuls, even without “native” support for a built-in “Ateret Torah” misheyakir. Some missing Javadocs were also added.

I would like to again thank Rabbi Rachamim Ashkenazi, the publisher of a zmanim calendar for the Syrian community, and Victor Grazi for their input, testing and technical expertise used for adding the new “Ateret Torah” zmanim.

The main download is the Zmanim 1.1 release zip file that includes source files and Javadoc documentation. Also available for download (included in the above zip file) is the main zmanim-1.1.jar and the new zmanimAstronomical-1.1.jar that only includes the AstronomicalCalendar and supporting classes. Additional detail on the downloads can be seen on the Zmanim Download page.

Zmanim GUI Released

Java Logo Sepia

Zmanim GUI screenshotI was recently contacted by Moshe Wagner, who wanted to know if there was a graphical front end to the Zmanim API. While there are various programs that do use the API, there is no standalone Java GUI that uses the API (the zmanim clock applet is not easily useful for looking up zmanim for various locations). As first announced in Hebrew (ZmanimGUI – ממשק להצגת זמני היום ההלכתיים), Moshe took the API and wrote a Java Swing GUI for it. The Zmanim GUI (called זמני היום in Hebrew) can switch between Hebrew and English display and shows the most commonly used zmanim. The program requires Java 6 and can be launched by double-clicking on the jar file in the download (or by running it with java -jar from a command prompt). As with the Zmanim API at the time (the API has since moved to the LGPL), the GUI was released under the GPL2 and is available (including source) on our download page (direct link to version 0.087, updated on י״ח באייר תשס״ט May 12, 2009). Questions and comments can be posted here or sent directly to Moshe at moshe.wagner -AT- gmail.com.