<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>I think we should not loose the main point out of focus which is
      to mention time libraries which make any usage of tz-repository of
      IANA.</p>
    <p>So we have at least: old Java pre 8, Java-8, Joda-Time and my lib
      Time4J (my proposal was to list it in tzlink as separate entry
      within the section "Other tz compilers" because it does have an<b>
        independent tz compiler</b> - like the standard apis and the
      much more known library Joda-Time which exists since 2002). And
      this relation to IANA-zone data is the main purpose of tzlink.
      What we should not do is going into too many details what the libs
      are where are difference where are common interfaces history etc.
      Interested people can simply follow the links given and form their
      own opinion, gathering more infos etc. I also suggest to leave out
      entries or details or opinions which have nothing to do with the
      purpose of tzlink-file. Just limiting the entries to the facts
      related to tz-data is fine enough.<br>
    </p>
    Kind regards<br>
    <br>
    Meno<br>
    <br>
    <div class="moz-cite-prefix">Am 08.07.2016 um 13:34 schrieb Stephen
      Colebourne:<br>
    </div>
    <blockquote
cite="mid:CACzrW9BU6zPbcSWqM9FXuqhLonknnpFfeE6J7FEvmc-PbC=wUQ@mail.gmail.com"
      type="cite">
      <pre wrap="">For many years, Joda-Time has been the de facto default library for
date and time in Java. In the last few years two things have happened.
1) Time4J came out (no idea how widely used it is)
2) Java 8 was enhanced with a new date/time API "inspired by"
Joda-Time (because I wrote both)

The Java 8 code is also supplemented by ThreeTen-Extra (which includes
leap second support).
<a class="moz-txt-link-freetext" href="http://www.threeten.org/threeten-extra/">http://www.threeten.org/threeten-extra/</a>

The Java 8 code has been backported to Java 6 and 7 (but this is only
for specialised use cases).
<a class="moz-txt-link-freetext" href="http://www.threeten.org/threetenbp/">http://www.threeten.org/threetenbp/</a>

Joda-Time will over time be less and less used as people migrate to
Java 8, supported by ThreeTen-Extra if needed.

I would recommend keeping the Time4J line in tzlink separate from the
Joda-Time/Java 8 line, as while Joda-Time and Java 8 have a lot in
common, Time4J doesn't have any history in common at all. It also
allows you to simplify the license part, which is complex as written.

&lt;li&gt;&lt;a href=<a class="moz-txt-link-rfc2396E" href="https://github.com/MenoData/Time4J/">"https://github.com/MenoData/Time4J/"</a>&gt;Time4J &amp;ndash;
Advanced date, time and interval library for Java&lt;/a&gt; contains a class
&lt;code&gt;net.time4j.tool.TimezoneRepositoryCompiler&lt;/code&gt; that compiles
&lt;code&gt;&lt;abbr&gt;tz&lt;/abbr&gt;&lt;/code&gt; source into a binary format. Time4J is
available under the &lt;a
href=<a class="moz-txt-link-rfc2396E" href="http://www.gnu.org/copyleft/lesser.html">"http://www.gnu.org/copyleft/lesser.html"</a>&gt;&lt;abbr&gt;GNU&lt;/abbr&gt; Lesser
General Public License (&lt;abbr title="Lesser General Public
License"&gt;LGPL&lt;/abbr&gt;)&lt;/a&gt;.

&lt;li&gt;&lt;a href=<a class="moz-txt-link-rfc2396E" href="http://www.joda.org/joda-time/">"http://www.joda.org/joda-time/"</a>&gt;Joda-Time &amp;ndash; Java
date and time &lt;abbr&gt;API&lt;/abbr&gt;&lt;/a&gt; contains a class
&lt;code&gt;org.joda.time.tz.ZoneInfoCompiler&lt;/code&gt;
&lt;code&gt;&lt;abbr&gt;tz&lt;/abbr&gt;&lt;/code&gt; source into a binary format. Joda-Time is
available under the &lt;a
href=<a class="moz-txt-link-rfc2396E" href="http://www.apache.org/licenses/LICENSE-2.0">"http://www.apache.org/licenses/LICENSE-2.0"</a>&gt;Apache License
v2&lt;/a&gt;. From Java 8 onwards, users are recommended to migrate to the
new built-in &lt;a
href=<a class="moz-txt-link-rfc2396E" href="http://www.oracle.com/technetwork/articles/java/jf14-date-time-2125367.html">"http://www.oracle.com/technetwork/articles/java/jf14-date-time-2125367.html"</a>&gt;Java
SE 8 &lt;code&gt;java.time&lt;/code&gt; API&lt;/a&gt; API that was inspired by
Joda-Time, supplemented by &lt;a
href=<a class="moz-txt-link-rfc2396E" href="http://www.threeten.org/threeten-extra/">"http://www.threeten.org/threeten-extra/"</a>&gt;ThreeTen-Extra&lt;/a&gt; if
necessary.

Stephen


On 8 July 2016 at 11:45, Paul Eggert <a class="moz-txt-link-rfc2396E" href="mailto:eggert@cs.ucla.edu">&lt;eggert@cs.ucla.edu&gt;</a> wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">On 07/08/2016 06:23 AM, Meno Hochschild wrote:
</pre>
        <blockquote type="cite">
          <pre wrap="">
it is not quite correct to say that Joda-Times "functionality is a
standard part of Java 8". It has rather inspired the development of
java.time-package in Java-8.
</pre>
        </blockquote>
        <pre wrap="">

Thanks for the correction. Sorry, I don't know Joda-Time vs Java SE 8 vs
Time4J well.

I'm trying to future-proof tz-link.htm. As I understand it from the
Joda-Time web page, Joda-Time-using apps are expected to migrate to the Java
SE 8 API, so future readers of tz-link.htm will mostly be using the Java
API, with more-specialized uses (leap seconds? sorry, don't know the
details) possibly using Time4J, and Joda-Time being a historical footnote.

I installed the attached further patch into the experimental tz version on
GitHub; I hope it addresses this point well enough. I'll CC: Stephen
Colebourne to give him a heads-up, as I do want tz-link.htm to be accurate.
</pre>
      </blockquote>
      <pre wrap="">
</pre>
    </blockquote>
    <br>
  </body>
</html>