The API documentation for the Zmanim package are of interest to developers interested in using the code, as well as to anyone interested in how the zmanim are calculated. The source code is available at the GitHub KosherJava Zmanim Repository.
For interest of the non-Java developers, the documentation is automatically generated from comments within the source code.
If you notice any zmanim that you feel requires clarification or additional documentation, please open an issue or pull request in GitHub or contact me.
Great Work. I really Like your HebrewDate Implementation.
I was previously using the Open source project from BAYT. which is very nice also, but what I liked about yours is that it has the hebrew rendering of the date. Very fancy. I am not sure how to use it yet, but I look forward to it.
By the way what do you do? are you a full-time prgrammer? Do you learn all day? Are you available to work on side projects?
All the Best.
David.
David,
The Zmanim Java API is for the moment for zmanim only. The BAYT HebrewDate API (last updated in 2002), is for the most part a Jewish / Gregorian calendar that has had some rudimentary zmanim added. The 2 really target different needs and will often be used together in a project. The Hebrew dates that you see displayed on the site are actually part of the PHP Hebrew date plugin that I wrote for WordPress, and not part of the API. Adding similar Hebrew display support to the BAYT API or even merging part of the HebrewDate API to the Zmanim API would potentially make sense. I would like to eventually port the Zmanim API to both .NET (C#) and PHP. The C# conversion should be trivial, while the PHP port, while not very complex, will take some more time.
When will zemanim API be available for .NET
Thank You
Isaac
Isaac,
I do not have a current timeline. One thing that I probably have to look into is changing the API from using inheritance of the Java Calendar classes, to one that uses composition. This will make porting it to other languages easier. I will try to keep you posted on this progress.
Thank You
I’m waiting for it
I too am very interested in the C#.Net version.
Any idea yet when this will be available?
Do you think you can make a wrapper web service around your Java based code? Then the data can be retrieved by any client which can consume a web service.
See the recent comments on the downloads page. While it is very easy (the toString methods on all objects currently return the toXML that is an XML string representation of the object) to make a web service wrapper aroud the Java code, I have no plans on hosting a web service.
I would like to know if we can insert some methods of the zmanim api’s in other programs that will be commercialized.
Thanks.
By the way, I implemented the change from inheritance to composition in about 2007, so anyone who wants to port this to .NET will have an easier time.
I would really like to see a PHP port…
Maybe I will make one myself if I have time to dig through the code :).
BTW, the Zmanim Calendar Generator produces no result, no link, no download file… am I doing something wrong? Using latest build of Google Chrome.
~confuded
It would certainly be nice to see a port to PHP. You may want to touch base with Moishe Beshkin who did work on a WordPress zmanim plugin that uses PHP. As for the Zmanim Calendar Generator, thanks for alerting me to this outage. I can confirm that it is down. I will have to contact the web-host for some info. This process sometimes takes a while since I have no direct access to the logs.
The Zmanim Calendar Generator is back up. The zmanim tabs in the Zmanim Map still do not show zmanim due to a http://api.geonames.org/timezone?lat=40.095965&lng=-74.22213&username=demo timezone web service outage. In addition it seems that I will have to make some changes to the way the web service is called. That will take a few days.
Hi,
I’m looking for a JAVA API for converting a Date to a Jewish one – can someone help?
Thanks!
David,
I have some rough Java code to do this. I hope to eventually clean it up enough for general distribution. Please contact me for details.
David,
Have a look at my latest FAQ: How do I Calculate the Jewish/Hebrew Date for …? post for some additional information.
I need to add a date converter in my app in android, mainly is a basic Sidur, but need the dates to add yerzeit remainders and holidays, can you help in this issue?
Looking for your comments.
Best regards
Sami