Zmanim Q & A Forum
Created by KosherJava
From time to time users of this site contact me with zmanim related questions, both technical and halachic. While I do not mind answering these questions, an open forum is probably more helpful to a greater audience. Please feel free to post your zmanim questions and comment here. While the target of this API were Java programmers, the vast majority of questions/comments are not related to the actual API. Here are some recent questions received (made generic).
- Q: Can you let me know what calculations/opinion is used by the zmanim shown at [link removed]? I tried contacting the owner of the site but no one replied.
A: I was able to answer the user based on information on the site and comparing the zmanim - Q: What opinion does zman XYZ follow?
A: The information can be seen in the Javadocs, and I added additional information in the email to the user. - Q: How can I use your API in JavaScipt/Ruby/PHP/C#/C++/Obj-C etc, etc
A: The API is written in Java. A port to your programming language is needed. I am more than willing to help guide you and make changes to my API to allow easier porting, but this is not something that I have the time to do at the moment. - Q: Your zmanim spreadsheet does now show a time for tzais as X minutes after shkiah etc
A: In some of these cases I actually added zmanim to the API, but for the less commonly used times, I point the questioner to the API with a sample on how to generate the requested zman. The API is very flexible, and almost every zman pointed out to me was very easy to generate - Q: Why are your zmanim 2 minutes different than [link removed].
A It is not always clear what exact coordinate was used to generate those zmanim or what rounding was done by the author. If you provide more detailed information (usually by contacting the author of that calendar) you will usually find that the 2 can be matched - Q: I want to incorporate a Luach on my site, can you help?
A: The API currently only calculates Zmanim. Zmanim are based on a solar year, and there is no need for the Hebrew date for the calculations. That said, There used to be a Java API released under the GPL at the BAYT Calendar page, but that is no longer available. I probably have a copy of it (if I can find it), and may some day post it. There is another one available from the ICU Project released under the open source ICU License by IBM. There are various other ones including the non-GPL Gauss library released by Zvi Har’El. - Q: I found the following bug in the API!!!
A: I welcome these reports even though the majority are not bugs at all
Hi ,
Thanks for sharing ,
I am trying to find an example for using the Zman Class ,
I wish to send a date and get it in Hebrew format .
I am trying to as fllow :
Date d1 = new Date();
Zman _zman =new Zman(d1,”MyNewTime”); (what the label an the zman constructor use for?)
_zman.setZman(d1) ;
then here i want to display my new Hebrew date ,
can i do that with the zman class ?
Thanks Zohar
Zohar,
See my FAQ: Where is the Zmanim API Main Method? post for some basic developer information on using the API.
Is there a way to get Zmanim for a different day?
Ori,
Are you referring to the API, map or spreadsheet?
API
There is documentation for this in the base AstronomicalCalendar class. ZmanimCalendar and ComplexZmanimCalendar should behave the same way.
Please look at this site. zmanim is a bottom of page but the zmanim is not showing
Luach for Ohev Tzedek-Shaarei Torah
4 Shevat 5771
ד’ שבט תשע”א
Zmanim
Alos HaShachar:
Netz:
Earliest Tallis:
Latest Sh’ma:
Chatzos:
Mincha Gedola:
Mincha Ktana:
Plag Hamincha:
Shkiah:
Hide
Shabbos
It will come in 6 days.
Candle light :
Shabbos ends:
do i need to configure something else?
Thank you,
Dave
Dave,
The plugin is produced by kosherdev.com (not kosherjava.com), and you should ask the question there.
Can’t you make this site a little easier for us computer illitirate people that need some zmanim.
Charles
moose jaw, SK
Charles,
Thanks for your interst. This site is targeted mostly at software developers interested in using zmanim in their programs. That said, there are 2 very easy to use ways to get the zmanim you require
Please let me know if there is anything specific that you are looking for.
you wrote “Zmanim Calendar Generator. This will generate a spreadsheet with zmanim for the entire year. You will also find a link to this on the bottom of the zmanim list in the Zmanim Map” I tries clicking on “Zmanim Calendar Generator” and the link was dead.
Thanks
Charles,
There was a typo in the URL I used, and it is now pointing the the proper one. Please try clicking the link again. The URL is http://www.kosherjava.com/zmanim-project/zmanim-calendar-generator/.
Just got the ZmanimGUI working. Is there a way to get Misheyakir to show on it?
Contact the author Moshe Wagner at the email address mentioned in the Zmanim GUI Released post, or via his פינגווין עם כיפה blog.
Hy,
can you please tell me any function in this api to check its holiday in jewish calendar for specific date …
i need to list of all holidays list of jewish calendar , list of days of Rosh Chodesh holidays , and Omer holidays number.. i checked in libhdate provide all functions , but i not found these all functions or functionality in this api.. can you please inform me below all functions are available in java api or not ?
i need below all functions functionality…
- get_holyday_type() — the holiday type
- get_omer_day() — get the day of the omer
- get_holyday_string() — string of hebrew holiday name
- get_holyday() — the hebrew holiday number
any other suggestion welcome.
Thanks
Samit,
I suggest that you check out the KosherJava Zmanim API Javadocs. Specifically look at the net.sourceforge.zmanim.hebrewcalendar package. This package (unlike the rest of the code in the API) is at alpha quality now, but does work.
Thanks for your quickly reply..
i checked net.sourceforge.zmanim.hebrewcalendar package but not found specific function which i mentioned my above post..
can you give me some description or some suggestion for how to check specific date is current holiday or not and if holiday then i need to holiday name.. i checked hebrewcalendar package but not found or not understand which function i use so please any suggestion..
Thanks
Samit,
Here is some sample code. I am afraid that I can’t offer any additional help at this point. The code below should have been pretty clear from the JavaDocs.
Thank you very much…
now my problem solved for using your sample code.i checked but some step missing in my code so not got answer.. now this sample its very helpful me. thanks for your suggestion and demo sample.