In the script Ron suggested he can set israel or diaspora holidays/parashot:
h = Hdate() h.set_israel # for isreal h.set_diaspora() # for diaspora and the functions: h.get_parasha_string(0) and get_holyday_string(0) will return the hoydays and parashot for israel or diaspora respectively. see: http://libhdate.sourceforge.net/documentation_cpp/html/classhdate_1_1Hdate.html On Wed, May 26, 2010 at 9:14 AM, Nadav Har'El <[email protected]> wrote: > On Wed, May 26, 2010, Stan Goodman wrote about "Re: Hebrew calendar software > creators: can you notify this list when updating the calendar?": >> But parahot are not always the same in Israel and in the Diaspora. > > Right - in Israel in the Diaspora both the parashot and holidays are > slightly different in subtle ways, but both have clear rules. All these > means is that whatever code or file you have will need to have two options: > jewish_diaspora and jewish_israel. Just like the "spanish" locale has > different versions for Spain and Argentina, with subtle differences between > them - which to the people of these places don't look all that subtle. > > see http://www.math.technion.ac.il/~rl/docs/reading.pdf for a brief > but complete overview of calculating the parashot. > > -- > Nadav Har'El | Wednesday, May 26 2010, 13 Sivan 5770 > [email protected] > |----------------------------------------- > Phone +972-523-790466, ICQ 13349191 |Some people bring happiness wherever they > http://nadav.harel.org.il |go, others whenever they go. > > _______________________________________________ > Linux-il mailing list > [email protected] > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > _______________________________________________ Linux-il mailing list [email protected] http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
