Tag Archive 'Software Bugs'

FAQ: Outputting Zmanim for A Different Time Zone With the the Zmanim API

Posted by KosherJava on ‍‍08 Nov 2011 - י״א חשון תשע״ב | Filed under: Software Dev, Zmanim

Question:Why does the output of zmanim for a different time zone appear incorrect?Answer: One of the common issues encountered by developers using the API is that zmanim generated for a different time zone than the user’s time zone may return output that appears incorrect. For example a user in Lakewood, NJ trying to calculate sunrise [...]

FAQ: Why Some Zmanim Never Occur (Developers Beware)

Posted by KosherJava on ‍‍02 Jun 2010 - כ׳ סיון תש״ע | Filed under: Software Dev, Zmanim

Question:Why do Some Zmanim Never Occur in Some Locations? (Developers Beware) Answer:While most people realize that the sun may not rise or set in the Arctic and Antarctic Circles (see the Star-K’s When Does One Pray When There Is No Day), many are not aware that some twilight dips will not occur during part of [...]

Zmanim Bug Report from the Land of the Midnight Sun

Posted by KosherJava on ‍‍08 May 2008 - ג׳ אייר תשס״ח | Filed under: Software Dev, Zmanim

I was recently contacted by Jan Terje Johansen, a developer at Datek Wireless AS in Norway, with an interesting bug report. Datek uses the Zmanim API (the AstronomicalCalendar base class) to allow their clients (the power company and stadiums) to remotely (via a web interface) control streetlights and stadium lights throughout Norway using a wireless [...]

Fix to NOAA Sunrise/Sunset Algorithm

Posted by KosherJava on ‍‍13 Apr 2008 - ח׳ ניסן תשס״ח | Filed under: Software Dev, Zmanim

The Zmanim API was developed from the ground up as an API which allows for easy plugging in of different algorithms. The Zmanim API ships with 3 “Calculator” implementations. Two calculators implement the US Naval Observatory’s algorithm, the SunTimesCalculator and the ZmanimCalculator. Both produce identical zmanim using slightly different code and are included for comparison. [...]

Updated Zmanim Jar Released – Please Download the Latest

Posted by KosherJava on ‍‍07 Feb 2008 - א׳ אדר א' תשס״ח | Filed under: Software Dev, Zmanim

In December when developing the Zmanim/Bearing to Yerushalayim map (blog post), I noticed a problem with the code used to generate zmanim. The API returns a Java Date object. Usually only the time is of interest, and the date is ignored, but in some cases (when a timezone offset is specified without using the Olson [...]

Zmanim Map Zmanim Map