<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>KosherJava</title>
	<atom:link href="http://www.kosherjava.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kosherjava.com</link>
	<description>A weblog about Kosher Coffee (Kosher Java), Zmanim and other odds &#38; ends</description>
	<lastBuildDate>Sun, 04 Jul 2010 19:55:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>New release of the Hebrew Date Plugin for WordPress</title>
		<link>http://www.kosherjava.com/2010/07/04/new-release-of-the-hebrew-date-plugin-for-wordpress/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=new-release-of-the-hebrew-date-plugin-for-wordpress</link>
		<comments>http://www.kosherjava.com/2010/07/04/new-release-of-the-hebrew-date-plugin-for-wordpress/#comments</comments>
		<pubDate>Sun, 04 Jul 2010 19:55:55 +0000</pubDate>
		<dc:creator>KosherJava</dc:creator>
				<category><![CDATA[Software Dev]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Hebrew Date]]></category>
		<category><![CDATA[WordPress Plugin]]></category>

		<guid isPermaLink="false">http://www.kosherjava.com/?p=722</guid>
		<description><![CDATA[Mike who took over development of the WordPress Hebrew Date plugin in 2006, released a new version of the plugin. The WordPress Hebrew Date plugin is now hosted at the WordPress plugin repository. This should make it easier for people to find and update the plugin. New in this version is support for the WordPress [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" src="/images/WPMug.png" alt="WordPress Mug"/><a href="http://mikeage.net/">Mike</a> who <a href="http://www.kosherjava.com/2006/11/05/hebrew-date-plugin-has-a-new-home/">took over development</a> of the WordPress <a href="http://www.kosherjava.com/wordpress/hebrew-date-plugin/">Hebrew Date  plugin</a> in 2006, released a new version of the plugin. The <a href="http://wordpress.org/extend/plugins/hebrewdates/">WordPress Hebrew Date plugin</a> is now hosted at the <a href="http://wordpress.org/extend/plugins/">WordPress plugin repository</a>. This should make it easier for people to find and update the plugin. New in this version is support for the WordPress 3.0 default theme, a general rewrite, and expansion of the API calls intercepted by the plugin. See the <a href="http://wordpress.org/extend/plugins/hebrewdates/changelog/">changelog page</a> for a more detailed list of all the changes. Please <a href="http://mikeage.net/personal/contact-information/"> contact Mike</a> with any suggestions, comments or bugs.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kosherjava.com/2010/07/04/new-release-of-the-hebrew-date-plugin-for-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FAQ: Why Some Zmanim Never Occur (Developers Beware)</title>
		<link>http://www.kosherjava.com/2010/06/02/faq-why-some-zmanim-never-occur-developers-beware/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=faq-why-some-zmanim-never-occur-developers-beware</link>
		<comments>http://www.kosherjava.com/2010/06/02/faq-why-some-zmanim-never-occur-developers-beware/#comments</comments>
		<pubDate>Thu, 03 Jun 2010 02:30:11 +0000</pubDate>
		<dc:creator>KosherJava</dc:creator>
				<category><![CDATA[Software Dev]]></category>
		<category><![CDATA[Zmanim]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[Arctic Circle]]></category>
		<category><![CDATA[Latitude and Longitude]]></category>
		<category><![CDATA[null]]></category>
		<category><![CDATA[Software Bugs]]></category>
		<category><![CDATA[Twilight]]></category>

		<guid isPermaLink="false">http://www.kosherjava.com/?p=671</guid>
		<description><![CDATA[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&#8217;s When Does One Pray When There Is No Day), many are not aware that some twilight dips will not occur during [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" src="/images/EnglandTwilightMap.png" alt="England Twilight Map" title="England Twilight Map" /><br />
<h2>Question:</h2>
<p>Why do Some Zmanim Never Occur in Some Locations? (Developers Beware)</p>
<h2>Answer:</h2>
<p>While most people realize that the sun may not rise or set in the <a href="http://en.wikipedia.org/wiki/Arctic_Circle">Arctic</a> and <a href="http://en.wikipedia.org/wiki/Antarctic_Circle">Antarctic</a> Circles (see the Star-K&#8217;s <a href="http://www.star-k.org/kashrus/kk-whendoesonepraywhenthereisnoday.htm">When Does One Pray When There Is No Day</a>),  many are not aware that some twilight dips will not occur during part of the year as far south of the Arctic Circle as London. For example around the <a href="http://en.wikipedia.org/wiki/Summer_solstice">summer solstice</a> in <a href="http://www.kosherjava.com/maps/zmanim2.html?lat=51.5&#038;lng=-0.10&#038;zoom=6&#038;date=2010-06-21">London (on the zmanim map)</a> the sun will never dip far enough below the horizon to reach <a href="http://www.kosherjava.com/zmanim/docs/api/net/sourceforge/zmanim/ComplexZmanimCalendar.html#getAlos16Point1Degrees%28%29">Alos 16°</a>. This happens in London from June 5<sup>th</sup> till July 8<sup>th</sup>. The image seen on the top right (original at <a href="http://www.timeanddate.com/worldclock/sunearth.html?n=136&#038;month=6&#038;day=21&#038;year=2010&#038;hour=0&#038;min=28&#038;sec=0">timeanddate.com</a>) shows various <a href="http://www.kosherjava.com/zmanim/docs/api/net/sourceforge/zmanim/AstronomicalCalendar.html#getBeginAstronomicalTwilight%28%29">civil twilights</a> centered on London on Midnight June 21<sup>st</sup>. Look carefully to see the various bands of twilight. Gateshead will not have Alos 16° from May 16<sup>th</sup> through July 28<sup>th</sup>, while <a href="http://www.kosherjava.com/maps/zmanim2.html?lat=61.189412&#038;lng=-149.86042&#038;zoom=17&#038;date=2010-08-21">Anchorage, Alaska</a> (yes there is a <a href="http://lubavitch.com/centers/detail.html?id=389">Frum Shul in Anchorage</a> with an interesting davening direction issue that will require its own post) will not have Alos 16.1° from April 25<sup>th</sup> to August 20<sup>th</sup>. Zmanim based on sunrise such as <a href="http://www.kosherjava.com/zmanim/docs/api/net/sourceforge/zmanim/ZmanimCalendar.html#getAlos72%28%29">Also 72</a> that is a 72 minute offset of sunrise can be calculated as long as sunrise can be calculated, something that will happen as long as you are not in the Arctic or Antarctic Circles.<br />
For this reason, the Zmanim API will return a <a href="http://en.wikipedia.org/wiki/Pointer_%28computing%29#Null_pointer">null</a> when a zman will not happen. A <a href="http://java.sun.com/javase/6/docs/api/java/lang/Long.html#MIN_VALUE">Long.MIN_VALUE</a> will be returned when a <a href="http://en.wikipedia.org/wiki/Long_integer">long</a> is expected such as in the case of a Shaah Zmanis. While an inconvenience to developers who have to code for this, the alternative of a default date would mean that developers unaware of this would return incorrect zmanim, something far worse than a program error from a <a href="http://java.sun.com/javase/7/docs/api/java/lang/NullPointerException.html">NullPointerException</a>.<br />
In recent weeks two publicly available programs using the Zmanim API ran into issues due to nulls returned for early alos times. Being something not anticipated by the developers, the nulls generated errors in the programs that quickly led to fixes.  For this reason Yitzchok updated the <a href="http://github.com/Yitzchok/Zmanim/">Zmanim .NET project</a> to return the nullable <em>DateTime?</em> instead of the regular DateTime that it had previously been returning. While the <a href="http://www.kosherjava.com/zmanim/docs/api/">Zmanim API documentation</a> always made the possibility of a null being returned possible, I modified the documentation to make this clear on the return value documentation for every zman. Code with the modified documentation was part of the recently released Zmanim API 1.2.1.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kosherjava.com/2010/06/02/faq-why-some-zmanim-never-occur-developers-beware/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zmanim API 1.2.1 Released</title>
		<link>http://www.kosherjava.com/2010/05/30/zmanim-api-1-2-1-released/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=zmanim-api-1-2-1-released</link>
		<comments>http://www.kosherjava.com/2010/05/30/zmanim-api-1-2-1-released/#comments</comments>
		<pubDate>Mon, 31 May 2010 02:36:11 +0000</pubDate>
		<dc:creator>KosherJava</dc:creator>
				<category><![CDATA[Site News]]></category>
		<category><![CDATA[Software Dev]]></category>
		<category><![CDATA[Zmanim]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[Download]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Zmanim API Release]]></category>

		<guid isPermaLink="false">http://www.kosherjava.com/?p=657</guid>
		<description><![CDATA[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&#8217;s use of the Zmanim API in a zmanim application for the BlackBerry. This change has [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" src="/images/SpilledCoffee.png" alt="Zmanim API 1.2.1 Release" title="Zmanim API 1.2.1 Release" />The Zmanim API 1.2.1 was released today. Changed in this release were the addition of a few very early <em>Tzais</em> zmanim, and the removal of references to the <a href="http://java.sun.com/javase/7/docs/api/java/util/GregorianCalendar.html">GregorianCalendar</a> in favor of the base <a href="http://java.sun.com/javase/7/docs/api/java/util/Calendar.html">Calendar</a> class to ease <a href="http://twitter.com/statichippo">Noah Blumenthal&#8217;s</a> use of the Zmanim API in a zmanim application for the BlackBerry. This change has no impact on functionality as tested using Yitzchok&#8217;s new JUnit tests. Additionally, the JavaDoc <a href="http://www.kosherjava.com/zmanim/docs/api/">Zmanim API documentation</a> was modified to clearly indicate that zmanim can return nulls. A followup post will have details on this.<br />
The main download is the <a href="http://www.kosherjava.com/zmanim/release/zmanim-1.2.1.zip">Zmanim 1.2.1 release</a> zip file that includes source files and JavaDoc documentation. Also available for download (included in the above zip file) is the main <a href="http://www.kosherjava.com/zmanim/lib/zmanim-1.2.1.jar">zmanim-1.2.1.jar</a> and the <a href="http://www.kosherjava.com/zmanim/lib/zmanimAstronomical-1.2.1.jar">zmanimAstronomical-1.2.1.jar</a> that only includes the <a href="http://www.kosherjava.com/zmanim/docs/api/net/sourceforge/zmanim/AstronomicalCalendar.html">AstronomicalCalendar</a>. The removal of the GregorianCalendar was in this class. Additional detail on the downloads can be seen on the <a href="http://www.kosherjava.com/zmanim-project/downloads/">Zmanim Download page</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kosherjava.com/2010/05/30/zmanim-api-1-2-1-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zmanim API Ported to .NET (C#)</title>
		<link>http://www.kosherjava.com/2010/04/20/zmanim-api-ported-to-net-c/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=zmanim-api-ported-to-net-c</link>
		<comments>http://www.kosherjava.com/2010/04/20/zmanim-api-ported-to-net-c/#comments</comments>
		<pubDate>Wed, 21 Apr 2010 04:07:08 +0000</pubDate>
		<dc:creator>KosherJava</dc:creator>
				<category><![CDATA[Software Dev]]></category>
		<category><![CDATA[Zmanim]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[port]]></category>
		<category><![CDATA[VB.NET]]></category>

		<guid isPermaLink="false">http://www.kosherjava.com/?p=514</guid>
		<description><![CDATA[Yitzchok ported the Zmanim API from Java to a .NET API using C#. The Zmanim .NET project was released under the LGPL. This is a change from the GPL used by the Java API, something that may change shortly. Also part of the project was the creation of a C# version of the Zmanim CLI, [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" src="/images/PortCityJava240.jpg" alt="Port City Java" title="Port City Java" /><a href="http://twitter.com/yitzchok">Yitzchok</a> ported the <a href="http://www.kosherjava.com/zmanim-project/">Zmanim API</a> from Java to a <a href="http://en.wikipedia.org/wiki/.NET_Framework">.NET</a> API using <a href="http://en.wikipedia.org/wiki/C_Sharp_%28programming_language%29">C#</a>. The <a href="http://github.com/Yitzchok/Zmanim/">Zmanim .NET project</a> was <a href="http://github.com/Yitzchok/Zmanim/downloads">released</a> under the <a href="http://www.gnu.org/licenses/lgpl.html">LGPL</a>. This is a change from the <a href="http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt">GPL</a> used by the Java <a href="http://en.wikipedia.org/wiki/Application_programming_interface">API</a>, something that may change shortly. Also part of the project was the creation of a C# version of the Zmanim <a href="http://en.wikipedia.org/wiki/Command-line_interface">CLI</a>, matching <a href="http://dosilinux.wordpress.com/">Moshe Wagner&#8217;s</a> <a href="http://www.kosherjava.com/2009/11/21/zmanimcli-command-line-interface/">Java Zmanim CLI</a>. When developing the project, Yitzchok created the <a href="http://gist.github.com/360934">ZmanimTest</a> <a href="http://www.junit.org">JUnit</a> test case class to confirm that the C# port output matched the Java API. I will likely add this to the core Zmanim API in the near future. <span style="text-decoration: line-through;">The port currently relies on <a href="http://www.ikvm.net/">IKVM</a> assemblies as can be seen in the Java references in the code sample below, mostly because of the lack of a native .NET equivalent of the Java <a href="http://java.sun.com/javase/7/docs/api/java/util/TimeZone.html">TimeZone class</a></span>. Yitzchok also created some <a href="http://github.com/Yitzchok/Zmanim/tree/master/Samples/">examples of the use of the Zmanim .NET API</a> that will be of help to developers. Below are two of the simpler examples in C# and <a href="http://en.wikipedia.org/wiki/Visual_Basic_.NET">VB.NET</a> demonstrating a very simple use of the API to output zmanim from the console.</p>
<h3>C#</h3>
<pre class="brush: csharp;">
using Zmanim.TimeZone;
using Zmanim.TzDatebase; //in Zmanim.TzDatebase.dll assembly
using Zmanim.Utilities;

namespace Zmanim.Samples.Console
{
    class Program
    {
        static void Main(string[] args)
        {
            string locationName = &quot;Lakewood, NJ&quot;;
            double latitude = 40.09596; //Lakewood, NJ
            double longitude = -74.22213; //Lakewood, NJ
            double elevation = 0; //optional elevation
            ITimeZone timeZone = new OlsonTimeZone(&quot;America/New_York&quot;);
            GeoLocation location = new GeoLocation(locationName, latitude, longitude, elevation, timeZone);
            ComplexZmanimCalendar zc = new ComplexZmanimCalendar(location);

            System.Console.WriteLine(&quot;Today's Zmanim for &quot; + locationName);
            System.Console.WriteLine(&quot;Sunrise: &quot; + zc.GetSunrise()); //output sunrise
            System.Console.WriteLine(&quot;Sof Zman Shema MGA: &quot; + zc.GetSofZmanShmaMGA()); //output Sof Zman Shema MGA
            System.Console.WriteLine(&quot;Sof Zman Shema GRA: &quot; + zc.GetSofZmanShmaGRA()); //output Sof Zman Shema GRA
            System.Console.WriteLine(&quot;Sunset: &quot; + zc.GetSunset()); //output sunset

            System.Console.WriteLine(&quot;Press enter to exit.&quot;);
            System.Console.ReadLine();
        }
    }
}
</pre>
<h3>VB.NET</h3>
<pre class="brush: vb;">
mports Zmanim.TzDatebase 'in Zmanim.TzDatebase.dll assembly
Imports Zmanim.Utilities
Imports Zmanim.TimeZone

Module Module1

    Sub Main()
        Dim locationName As String = &quot;Lakewood, NJ&quot;
        Dim latitude As Double = 40.09596 'Lakewood, NJ
        Dim longitude As Double = -74.22213 'Lakewood, NJ
        Dim elevation As Double = 0 'optional elevation
        Dim timeZone As ITimeZone = New OlsonTimeZone(&quot;America/New_York&quot;)
        Dim location As New GeoLocation(locationName, latitude, longitude, elevation, timeZone)
        Dim zc As New ComplexZmanimCalendar(location)

        System.Console.WriteLine(&quot;Today's Zmanim for &quot; &amp; locationName)
        System.Console.WriteLine(&quot;Sunrise: &quot; &amp; zc.GetSunrise().ToString)
        'output sunrise
        System.Console.WriteLine(&quot;Sof Zman Shema MGA: &quot; &amp; zc.GetSofZmanShmaMGA().ToString)
        'output Sof Zman Shema MGA
        System.Console.WriteLine(&quot;Sof Zman Shema GRA: &quot; &amp; zc.GetSofZmanShmaGRA().ToString)
        'output Sof Zman Shema GRA
        System.Console.WriteLine(&quot;Sunset: &quot; &amp; zc.GetSunset().ToString)
        'output sunset
        System.Console.WriteLine(&quot;Press enter to exit.&quot;)
        System.Console.ReadLine()

    End Sub

End Module
</pre>
<p>The current Zmanim .NET TODO list for the project includes:</p>
<ul>
<li style="text-decoration: line-through;">Remove dependency to Java (IKVM assemblies)</li>
<li>The API should follow the <a href="http://msdn.microsoft.com/en-us/library/ms229042.aspx">.NET guidelines</a></li>
<li>Make it <a href="http://en.wikipedia.org/wiki/Language_Integrated_Query">Linq</a> friendly</li>
<li>Add examples how to use this project in a ASP.NET MVC site and WPF Application</li>
<li style="text-decoration: line-through;">Try to get it to work on <a href="http://www.silverlight.net/">Silverlight</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.kosherjava.com/2010/04/20/zmanim-api-ported-to-net-c/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Android Zmanim Using the KosherJava Zmanim API</title>
		<link>http://www.kosherjava.com/2010/04/19/android-zmanim-using-the-zmanim-api/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=android-zmanim-using-the-zmanim-api</link>
		<comments>http://www.kosherjava.com/2010/04/19/android-zmanim-using-the-zmanim-api/#comments</comments>
		<pubDate>Tue, 20 Apr 2010 04:49:39 +0000</pubDate>
		<dc:creator>KosherJava</dc:creator>
				<category><![CDATA[Software Dev]]></category>
		<category><![CDATA[Zmanim]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://www.kosherjava.com/?p=462</guid>
		<description><![CDATA[There are various software projects using the KosherJava Zmanim API. One of the active ones is Jay Gindin&#8217;s open source Android Zmanim app for the Android platform. Activity in the project is constant. The upcoming version allows the selection of a specific calculation for zmanim you want such as the zman Talis/Tefilin pictured here. There [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" src="/images/AndroidZmanim.png" alt="Android Zmanim" title="Android Zmanim" />There are various software projects using the KosherJava Zmanim API. One of the active ones is Jay Gindin&#8217;s open source <a href="http://code.google.com/p/android-zmanim">Android Zmanim</a> app for the <a href="http://www.android.com/">Android platform</a>. Activity in the project is constant. The upcoming version allows the selection of a specific calculation for zmanim you want such as the zman Talis/Tefilin pictured here. There are plans to add direction to Yerushalayim functionality using the Zmanim API. (For more information on calculating bearing using the API, see <a href="http://www.kosherjava.com/2009/11/29/calculating-the-bearing-to-har-habayis-using-the-zmanim-api/">Calculating the Bearing/Direction to Har Habayis Using the Zmanim API</a> article.) A large part of Jay&#8217;s motivations for developing the code was lezecher nishmas his nephew Shemuel Reuven ben Yehudit Rachel who, lost his battle with cancer on October 21, 2009. The one very minor issue Jay had with the API (and documentation) was the <a href="http://en.wikipedia.org/wiki/Ashkenazi_Jews">Ashkenazi</a> spelling of the zmanim names, something that as an Ashekenazi I do not plan to change <img src='http://www.kosherjava.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> , but as you can see his Android Zmanim front end used <a href="http://en.wikipedia.org/wiki/Sephardi_Jews">Sephardi</a> labeling. Asked how he found the project, he answered with the typical answer to this question<br />
<blockquote>I Googled around, and found your project.</p></blockquote>
<p> One of my goals with the API was to make it easy for developers to use and port. This was confirmed by Jay<br />
<blockquote>I found it to be very easy to pull into my app, even on Android&#8230;no changes necessary, not even a recompile</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.kosherjava.com/2010/04/19/android-zmanim-using-the-zmanim-api/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>ZmanimPlasma (Linux) Released</title>
		<link>http://www.kosherjava.com/2010/04/12/zmanimplasma-linux-released/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=zmanimplasma-linux-released</link>
		<comments>http://www.kosherjava.com/2010/04/12/zmanimplasma-linux-released/#comments</comments>
		<pubDate>Tue, 13 Apr 2010 03:52:15 +0000</pubDate>
		<dc:creator>KosherJava</dc:creator>
				<category><![CDATA[Software Dev]]></category>
		<category><![CDATA[Zmanim]]></category>
		<category><![CDATA[Download]]></category>
		<category><![CDATA[GUI]]></category>
		<category><![CDATA[Hebrew Date]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://www.kosherjava.com/?p=524</guid>
		<description><![CDATA[Moshe 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&#8217;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 [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" src="/images/ZmanimPlasma.png" alt="ZmanimPlasma" title="ZmanimPlasma" /><a href="http://dosilinux.wordpress.com/">Moshe Wagner</a> recently released <a href="http://dosilinux.wordpress.com/2010/03/28/zmanimplasma/">ZmanimPlasma</a>  for the Linux platform. This <a href="http://en.wikipedia.org/wiki/KDE">KDE</a> <a href="http://en.wikipedia.org/wiki/Plasma_%28KDE%29">Plasma</a>  desktop widget displays the Hebrew date and zmanim on a Linux desktop. The zmanim calculations use Moshe&#8217;s <span style="text-decoration: line-through;">C++ port</span> <a href="http://www.kosherjava.com/2009/11/21/zmanimcli-command-line-interface/">Zmanim CLI</a> wrapper that enables a C++ program to call the Java <a href="http://www.kosherjava.com/zmanim-project/">Zmanim API</a>. There are no current plans to make this widget available on any other platform. It can be downloaded from the <a href="http://code.google.com/p/luach/downloads/list">Luach project download page</a>. 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 <a href="http://www.kosherjava.com/2009/03/14/zmanim-gui-released/">Zmanim GUI</a> that uses the ZmanimCLI.</p>
<p><span style="font-weight:bold;">Updated on 4/13/2010</span> to reflect information from Moshe explaining that this was not a <a href="http://en.wikipedia.org/wiki/Porting">port</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kosherjava.com/2010/04/12/zmanimplasma-linux-released/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Bearing to Yerushalayim and Zmanim Map 2.0</title>
		<link>http://www.kosherjava.com/2010/03/14/bearing-to-yerushalayim-and-zmanim-map-2-0/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=bearing-to-yerushalayim-and-zmanim-map-2-0</link>
		<comments>http://www.kosherjava.com/2010/03/14/bearing-to-yerushalayim-and-zmanim-map-2-0/#comments</comments>
		<pubDate>Sun, 14 Mar 2010 05:32:53 +0000</pubDate>
		<dc:creator>KosherJava</dc:creator>
				<category><![CDATA[Site News]]></category>
		<category><![CDATA[Software Dev]]></category>
		<category><![CDATA[Zmanim]]></category>
		<category><![CDATA[daylight savings time]]></category>
		<category><![CDATA[Google Maps]]></category>
		<category><![CDATA[Great Circle]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Latitude and Longitude]]></category>
		<category><![CDATA[Rhumb Line]]></category>
		<category><![CDATA[Timezone]]></category>

		<guid isPermaLink="false">http://www.kosherjava.com/?p=436</guid>
		<description><![CDATA[The availability of the Bearing to Yerushalayim and Zmanim Map was originally announced on December 30, 2007. At the time there were a number of bugs related to the Google Map API. These bugs were reported to Google and eventually fixed. Since that time, the only change was a minor JavaScript fix for IE. The [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" src="/images/sepiaMap.jpg" alt="World map" title="World map" />The availability of the <a href="http://www.kosherjava.com/maps/zmanim.html">Bearing to Yerushalayim and Zmanim Map</a> was <a href="http://www.kosherjava.com/2007/12/30/bearing-to-yerushalayim-and-zmanim-map/">originally announced on December 30, 2007</a>. At the time there were a number of bugs related to the <a href="http://code.google.com/apis/maps/">Google Map API</a>. These bugs were reported to Google and eventually <a href="http://code.google.com/p/gmaps-api-issues/issues/list?can=1&#038;q=status%3AFixed%20reporter%3Akosherjava">fixed</a>. Since that time, the only change was a minor JavaScript fix for IE. The Bearing to Yerushalayim worked, but the zmanim tabs had a major issue because the timezone calculated was done based on the user&#8217;s current browser timezone. This made it tricky to check zmanim in a different location or timezone than the user&#8217;s current timezone. <img class="alignright" src="/images/zmanimTab.png" alt="Zmanim tab using timezones" title="Zmanim tab using timezones" />I recently updated the map to look-up the actual timezone of the latitude and longitude selected by the user. This was implemented by doing a look-up at the <a href="http://www.geonames.org">geonames.org</a> <a href="http://www.geonames.org/export/web-services.html">timezone  web-service</a>. The timezone is passed to the Zmanim API and used to generate the XML output of a list of daily zmanim that is displayed in the map. Since the <a href="http://en.wikipedia.org/wiki/Zoneinfo">Olson timezone database</a> changes a few times a year, there will almost certainly be cases where the proper timezone can&#8217;t be determined.  Some of these are changes of timezone names, such as the change from Asia/Calcutta to Asia/Kolkata (my host will not run the <a href="http://java.sun.com/javase/timezones/#tzu">TZ Updater tool</a>). In these cases a simple mapping between the old and new was added to the map. In cases where the timezone can&#8217;t be determined the timezone will default to GMT.  Ocean locations within 10 km of land will use the closest landmass, but anywhere beyond 10 km will default to GMT. One issue with using the geonames.org webservice, is that when it is down, the map will timeout. I experimented with various ways of dealing with this, but unless my host updates the Java version from 1.4, they are too complex to use at this time.</p>
<p>See the <a href="http://www.kosherjava.com/2008/04/07/technical-information-about-the-bearing-to-yerushalayim-map/">Technical Information about the Bearing to Yerushalayim Map</a> post for technical details about the original implementation.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kosherjava.com/2010/03/14/bearing-to-yerushalayim-and-zmanim-map-2-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FAQ: How Much Earlier is Sunrise on Mount Everest Due to Elevation?</title>
		<link>http://www.kosherjava.com/2010/03/07/faq-how-much-earlier-is-sunrise-on-mount-everest-due-to-elevation/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=faq-how-much-earlier-is-sunrise-on-mount-everest-due-to-elevation</link>
		<comments>http://www.kosherjava.com/2010/03/07/faq-how-much-earlier-is-sunrise-on-mount-everest-due-to-elevation/#comments</comments>
		<pubDate>Mon, 08 Mar 2010 01:57:16 +0000</pubDate>
		<dc:creator>KosherJava</dc:creator>
				<category><![CDATA[Zmanim]]></category>
		<category><![CDATA[Elevation]]></category>
		<category><![CDATA[FAQ]]></category>
		<category><![CDATA[Google Maps]]></category>
		<category><![CDATA[Sea level]]></category>

		<guid isPermaLink="false">http://www.kosherjava.com/?p=427</guid>
		<description><![CDATA[Question: How Much Earlier is Sunrise on Mount Everest Due to Elevation? Answer: The greatest sunrise and sunset elevation effect on Earth is on Mount Everest (at 27.988056 N, 86.925278 E as seen on the Direction to Yerushalayim Map). With an elevation of 8,848 Meters (29, 029 feet), sunrise would be up to 15 minutes [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" src="/images/SunriseEverest.jpg" alt="Sunrise over Everest" title="Sunrise over Everest" /><br />
<h2>Question:</h2>
<p>How Much Earlier is Sunrise on Mount Everest Due to Elevation?<br />
<h2>Answer:</h2>
<p>The greatest sunrise and sunset elevation effect on Earth is on Mount Everest (at 27.988056 N, 86.925278 E as seen on the <a href="http://www.kosherjava.com/maps/zmanim.html?lat=27.988056&amp;lng=86.925278&amp;zoom=15&amp;type=p">Direction to Yerushalayim Map</a>). With an elevation of 8,848 Meters (29, 029 feet), sunrise would be up to 15 minutes and 31 seconds earlier on Mount Everest than on sea level. The range of the effect is from 15 minutes and 31 seconds on June 22nd, to a &#8220;low&#8221; of 13 minutes 41 seconds earlier on March 18th. Being in a large mountain range with obstructed horizons, it is likely never actually seen that early. In addition to questions about mountains, every few months I get asked about how much earlier sunrise/set can be seen in skyscrapers. There are various halacha questions as to whether this actually affects zmanim that I will mention later. Here are some raw numbers. <img class="alignright" src="/images/BurjKhalifa.jpg" alt="Burj Khalifa" title="Burj Khalifa" /><a href="http://en.wikipedia.org/wiki/Burj_Khalifa">Burj Khalifa</a> (at 25.197222 N, 55.274056 E as seen on the <a href="http://www.kosherjava.com/maps/zmanim.html?lat=25.197222&amp;lng=55.274056&amp;zoom=15">Direction to Yerushalayim Map</a>) is the tallest building in the world. With a height of 828 m (2,717 ft), visible sunrise to someone standing on top of the crown (something unrealistic) on June 22nd would be at 5:24:56 AM versus 5:29:31 AM on sea level, a difference of 4 minutes and 35 seconds. Sunset would be 7:16:35 PM versus 7:12:00 PM at sea level, a difference of 4 minutes and 35 seconds. A more realistic scenario would be the visibility sunrise on the highest floor (the 160th) , an elevation of 672 m at 5:25:23 AM, a difference of 4 minutes and 8 seconds earlier than sea level. Sunset on the 160th floor would be 7:16:08 PM, or 4 minutes and 8 seconds later than at sea level.<br />
As far as the halacha being affected by the elevation of buildings, the Baal Hatanya seems to indicate that tall buildings would make sunset later. See Yisroel vehazmanim ישראל והזמנים Vol II, page 910. In the Shraga Lachaim שרגא לחיים footnotes Rabbi Harfenes states that<br />
<blockquote>ויש להוסיף שהו דבר תמוה לומר דעד שלא נבנו הבנינים הגבוהים היה זמן שבת התלוי בשקעה&#8221;ח (שקיעה ראשונה להגאנים ושקיעה שניה לר&#8221;ת) מוקדם, ולאחר שנבנו יש לאחר הזמנים, ועד עכשיו שהיו בניו יארק הבנינים התאומיות (טווין טאוע&#8221;ר בלע&#8221;ז) שכל א&#8217; מהם היה בת ק&#8221;י קומות היה זמן השקיעה מאוחר, ועתה לאחר שהפילו והרסו אותם רשעים וזדים ארורים ימ&#8221;ש חזר הדבר לקדמותו להקדים זמן השקיעה.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.kosherjava.com/2010/03/07/faq-how-much-earlier-is-sunrise-on-mount-everest-due-to-elevation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zmanim API 1.2 Released</title>
		<link>http://www.kosherjava.com/2010/01/24/zmanim-api-1-2-released/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=zmanim-api-1-2-released</link>
		<comments>http://www.kosherjava.com/2010/01/24/zmanim-api-1-2-released/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 02:07:29 +0000</pubDate>
		<dc:creator>KosherJava</dc:creator>
				<category><![CDATA[Site News]]></category>
		<category><![CDATA[Software Dev]]></category>
		<category><![CDATA[Zmanim]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[Download]]></category>
		<category><![CDATA[Elevation]]></category>
		<category><![CDATA[Sea level]]></category>
		<category><![CDATA[Zmanim API Release]]></category>

		<guid isPermaLink="false">http://www.kosherjava.com/?p=409</guid>
		<description><![CDATA[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 [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" src="/images/SpilledCoffee.png" alt="Zmanim API Release" title="Zmanim API Release" />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 <a href="http://www.kosherjava.com/zmanim/docs/api/">JavaDocs</a> now reflect these changes. Please see the <a href="http://www.kosherjava.com/2010/01/24/elevation-now-only-impacts-sunrise-and-sunset-calculations-in-the-zmanim-api/">Elevation Now Only Impacts Sunrise and Sunset Calculations in the Zmanim API</a> post for additional information.</p>
<p>I would like to thank the various people who contacted me on the subject.</p>
<p>The main download is the <a href="http://www.kosherjava.com/zmanim/release/zmanim-1.2.zip">Zmanim 1.2 release</a> zip file that includes source files and JavaDoc documentation. Also available for download (included in the above zip file) is the main <a href="http://www.kosherjava.com/zmanim/lib/zmanim-1.2.jar">zmanim-1.2.jar</a>. The <a href="http://www.kosherjava.com/zmanim/lib/zmanimAstronomical-1.1.jar">zmanimAstronomical-1.1.jar</a> that only includes the <a href="http://www.kosherjava.com/zmanim/docs/api/net/sourceforge/zmanim/AstronomicalCalendar.html">AstronomicalCalendar</a> was not impacted by this change, but the version has been updated to <a href="http://www.kosherjava.com/zmanim/lib/zmanimAstronomical-1.2.jar">zmanimAstronomical-1.2.jar</a> for consistency. Additional detail on the downloads can be seen on the <a href="http://www.kosherjava.com/zmanim-project/downloads/">Zmanim Download page</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kosherjava.com/2010/01/24/zmanim-api-1-2-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Elevation Now Only Impacts Sunrise and Sunset Calculations in the Zmanim API</title>
		<link>http://www.kosherjava.com/2010/01/24/elevation-now-only-impacts-sunrise-and-sunset-calculations-in-the-zmanim-api/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=elevation-now-only-impacts-sunrise-and-sunset-calculations-in-the-zmanim-api</link>
		<comments>http://www.kosherjava.com/2010/01/24/elevation-now-only-impacts-sunrise-and-sunset-calculations-in-the-zmanim-api/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 01:59:36 +0000</pubDate>
		<dc:creator>KosherJava</dc:creator>
				<category><![CDATA[Software Dev]]></category>
		<category><![CDATA[Zmanim]]></category>
		<category><![CDATA[Elevation]]></category>
		<category><![CDATA[Sea level]]></category>

		<guid isPermaLink="false">http://www.kosherjava.com/?p=397</guid>
		<description><![CDATA[I have received a few emails over the past year or so about the use of elevation as part of the calculation of various zmanim in the API. All releases of the zmanim API up to the current 1.1 release, use elevation to affect the calculation of all sunrise/sunset based zmanim. While my footnote on [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" src="/images/Everest.jpg" alt="Mount Everest" title="Mount Everest" />I have received a few emails over the past year or so about the use of elevation as part of the calculation of various zmanim in the API. All <a href="http://www.kosherjava.com/zmanim-project/downloads/">releases of the zmanim API</a> up to the current 1.1 release, use elevation to affect the calculation of all sunrise/sunset based zmanim. While my footnote on the <a href="http://www.kosherjava.com/zmanim-project/zmanim-calendar-generator/">Zmanim Calendar Generator page</a> stated that this only impacted sunrise and sunset (quoting the <a href="http://en.wikipedia.org/wiki/Yisroel_Dovid_Harfenes">Yisrael Vehazmanim</a> and <a href="http://emr.cs.iit.edu/home/reingold/calendar-book/third-edition/">Calendrical Calculations</a>), in practice all zmanim calculated based on sunrise and sunset were affected by elevation. An example of a zman that used elevation in 1.1, but will no longer in 1.2, is the calculation of Sof Zman Krias Shema according to the GR&#8221;A. The soon to be released version 1.2 limits the impact of elevation to sunrise and sunset only. The Zmanim Calendar Generator page already uses the latest changes to the code. To facilitate changes by ports of the API, a list of changes to the source code of the <a href="http://www.kosherjava.com/zmanim/docs/api/net/sourceforge/zmanim/ZmanimCalendar.html">ZmanimCalendar.java</a> and <a href="http://www.kosherjava.com/zmanim/docs/api/net/sourceforge/zmanim/ComplexZmanimCalendar.html">ComplexZmanimCalendar.java</a> is available in a <a href="http://www.kosherjava.com/files/zmanim/ElevationDiff1.2.zip">diff file</a> (a proper unix diff/patch file will not be available at this time). The diff files were generated prior to updating the JavaDocs to simplify the work of anyone modifying ports of the Zmanim API. Detailed sources for not using elevation for anything besides sunrise and sunset can be found in פרק ב׳ סעיף ט׳ (pages 186-187) in the second edition of <a href="http://www.worldcat.org/oclc/74100151">Zmanim Kehilchasam זמנים כהלכתם</a> by Rabbi Dovid Yehuda Bursztyn. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.kosherjava.com/2010/01/24/elevation-now-only-impacts-sunrise-and-sunset-calculations-in-the-zmanim-api/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
