<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Thanks Arthur.<br>
<br>
Sean and I've faced this issue while working on 2010c in JRE.<br>
<br>
Abhijit<br>
<br>
Olson, Arthur David (NIH/NCI) [E] wrote:
<blockquote
 cite="mid:996D816825CFEA469870126E9050D3F0B68BF12A@NIHMLBX11.nih.gov"
 type="cite">
  <pre wrap="">I'll make the suggested change for 2010d.

                                --ado

-----Original Message-----
From: Se&aacute;n Coffey [<a class="moz-txt-link-freetext" href="mailto:Sean.Coffey@Sun.COM">mailto:Sean.Coffey@Sun.COM</a>] 
Sent: Thursday, March 04, 2010 2:18
To: <a class="moz-txt-link-abbreviated" href="mailto:tz@lecserver.nci.nih.gov">tz@lecserver.nci.nih.gov</a>
Subject: Re: proposed time zone package changes--Paraguay, core dump avoidance

Hi Arthur,

Can I ask why you used the follow logic for the new Asuncion rule :

Rule       Para    2010    max     -       Oct     Sun&lt;=7  0:00    1:00    S

instead of keeping with tradition and using something like :

Rule       Para    2010    max     -       Oct     Sun&gt;=1  0:00    1:00    S

"Sun&lt;=7" is the first instance of such a rule in the Olson files and 
causes an issue
with the JRE when it parses Olson rules . (something that can be 
modified on the java side I guess)

Is it possible to use Sun&gt;=1 for 2010d ?

regards,
Sean.

Arthur David Olson wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Below find proposed changes to the time zone package:

        localtime.c        more core dump avoidance work
        southamerica        changes to Paraguay DST rules from 2010 forward

If no problems are found, these are to show up on the ftp site on 2010-03-01.

(I'm trying to get a good reference before making Bangladesh changes;
I'm trying to get starting- and ending-time-of-day information--and trying
to learn whether or not DST was actually observed in 2009--before making
Samoa changes.)

                                --ado

------- localtime.c -------
*** /tmp/geta19371        Wed Feb 24 08:46:42 2010
--- /tmp/getb19371        Wed Feb 24 08:46:42 2010
***************
*** 5,11 ****
  
  #ifndef lint
  #ifndef NOID
! static char        elsieid[] = "@(#)localtime.c        8.10";
  #endif /* !defined NOID */
  #endif /* !defined lint */
  
--- 5,11 ----
  
  #ifndef lint
  #ifndef NOID
! static char        elsieid[] = "@(#)localtime.c        8.12";
  #endif /* !defined NOID */
  #endif /* !defined lint */
  
***************
*** 389,394 ****
--- 389,395 ----
          nread = read(fid, u.buf, sizeof u.buf);
          if (close(fid) &lt; 0 || nread &lt;= 0)
                  return -1;
+         sp-&gt;goback = sp-&gt;goahead = FALSE;
          for (stored = 4; stored &lt;= 8; stored *= 2) {
                  int                ttisstdcnt;
                  int                ttisgmtcnt;
***************
*** 555,561 ****
                                          sp-&gt;ttis[sp-&gt;typecnt++] = ts.ttis[1];
                          }
          }
-         sp-&gt;goback = sp-&gt;goahead = FALSE;
          if (sp-&gt;timecnt &gt; 1) {
                  for (i = 1; i &lt; sp-&gt;timecnt; ++i)
                          if (typesequiv(sp, sp-&gt;types[i], sp-&gt;types[0]) &amp;&amp;
--- 556,561 ----
***************
*** 1163,1169 ****
  
  #ifdef ALL_STATE
          if (lclptr == NULL) {
!                 lclptr = (struct state *) malloc(sizeof *lclptr);
                  if (lclptr == NULL) {
                          settzname();        /* all we can do */
                          return;
--- 1163,1169 ----
  
  #ifdef ALL_STATE
          if (lclptr == NULL) {
!                 lclptr = (struct state *) calloc(1, sizeof *lclptr);
                  if (lclptr == NULL) {
                          settzname();        /* all we can do */
                          return;
***************
*** 1194,1200 ****
  
  #ifdef ALL_STATE
          if (lclptr == NULL) {
!                 lclptr = (struct state *) malloc(sizeof *lclptr);
                  if (lclptr == NULL) {
                          settzname();        /* all we can do */
                          return;
--- 1194,1200 ----
  
  #ifdef ALL_STATE
          if (lclptr == NULL) {
!                 lclptr = (struct state *) calloc(1, sizeof *lclptr);
                  if (lclptr == NULL) {
                          settzname();        /* all we can do */
                          return;
***************
*** 1355,1361 ****
          if (!gmt_is_set) {
                  gmt_is_set = TRUE;
  #ifdef ALL_STATE
!                 gmtptr = (struct state *) malloc(sizeof *gmtptr);
                  if (gmtptr != NULL)
  #endif /* defined ALL_STATE */
                          gmtload(gmtptr);
--- 1355,1361 ----
          if (!gmt_is_set) {
                  gmt_is_set = TRUE;
  #ifdef ALL_STATE
!                 gmtptr = (struct state *) calloc(1, sizeof *gmtptr);
                  if (gmtptr != NULL)
  #endif /* defined ALL_STATE */
                          gmtload(gmtptr);

------- southamerica -------
*** /tmp/geta19392        Wed Feb 24 08:46:57 2010
--- /tmp/getb19392        Wed Feb 24 08:46:57 2010
***************
*** 1,5 ****
  # &lt;pre&gt;
! # @(#)southamerica        8.40
  # This file is in the public domain, so clarified as of
  # 2009-05-17 by Arthur David Olson.
  
--- 1,5 ----
  # &lt;pre&gt;
! # @(#)southamerica        8.41
  # This file is in the public domain, so clarified as of
  # 2009-05-17 by Arthur David Olson.
  
***************
*** 1364,1371 ****
  # Decree 1,867 (2004-03-05)
  # From Carlos Raul Perasso via Jesper Norgaard Welen (2006-10-13)
  # <a class="moz-txt-link-rfc2396E" href="http://www.presidencia.gov.py/decretos/D1867.pdf">&lt;http://www.presidencia.gov.py/decretos/D1867.pdf&gt;</a>
! Rule        Para        2004        max        -        Oct        Sun&gt;=15        0:00        1:00        S
! Rule        Para        2005        max        -        Mar        Sun&gt;=8        0:00        0        -
  
  # Zone        NAME                GMTOFF        RULES        FORMAT        [UNTIL]
  Zone America/Asuncion        -3:50:40 -        LMT        1890
--- 1364,1387 ----
  # Decree 1,867 (2004-03-05)
  # From Carlos Raul Perasso via Jesper Norgaard Welen (2006-10-13)
  # <a class="moz-txt-link-rfc2396E" href="http://www.presidencia.gov.py/decretos/D1867.pdf">&lt;http://www.presidencia.gov.py/decretos/D1867.pdf&gt;</a>
! Rule        Para        2004        2009        -        Oct        Sun&gt;=15        0:00        1:00        S
! Rule        Para        2005        2009        -        Mar        Sun&gt;=8        0:00        0        -
! # From Carlos Raul Perasso (2010-02-18):
! # By decree number 3958 issued yesterday (
! # &lt;a href=<a class="moz-txt-link-rfc2396E" href="http://www.presidencia.gov.py/v1/wp-content/uploads/2010/02/decreto3958.pdf">"http://www.presidencia.gov.py/v1/wp-content/uploads/2010/02/decreto3958.pdf"</a>&gt;
! # <a class="moz-txt-link-freetext" href="http://www.presidencia.gov.py/v1/wp-content/uploads/2010/02/decreto3958.pdf">http://www.presidencia.gov.py/v1/wp-content/uploads/2010/02/decreto3958.pdf</a>
! # &lt;/a&gt;
! # )
! # Paraguay changes its DST schedule, postponing the March rule to April and
! # modifying the October date. The decree reads:
! # ...
! # Art. 1. It is hereby established that from the second Sunday of the month of
! # April of this year (2010), the official time is to be set back 60 minutes,
! # and that on the first Sunday of the month of October, it is to be set
! # forward 60 minutes, in all the territory of the Paraguayan Republic.
! # ...
! Rule        Para        2010        max        -        Oct        Sun&lt;=7        0:00        1:00        S
! Rule        Para        2010        max        -        Apr        Sun&gt;=8        0:00        0        -
  
  # Zone        NAME                GMTOFF        RULES        FORMAT        [UNTIL]
  Zone America/Asuncion        -3:50:40 -        LMT        1890

------- southamerica -------
*** /tmp/geta19425        Wed Feb 24 08:47:47 2010
--- /tmp/getb19425        Wed Feb 24 08:47:47 2010
***************
*** 1,5 ****
  # &lt;pre&gt;
! # @(#)southamerica        8.40
  # This file is in the public domain, so clarified as of
  # 2009-05-17 by Arthur David Olson.
  
--- 1,5 ----
  # &lt;pre&gt;
! # @(#)southamerica        8.41
  # This file is in the public domain, so clarified as of
  # 2009-05-17 by Arthur David Olson.
  
***************
*** 1364,1371 ****
  # Decree 1,867 (2004-03-05)
  # From Carlos Raul Perasso via Jesper Norgaard Welen (2006-10-13)
  # <a class="moz-txt-link-rfc2396E" href="http://www.presidencia.gov.py/decretos/D1867.pdf">&lt;http://www.presidencia.gov.py/decretos/D1867.pdf&gt;</a>
! Rule        Para        2004        max        -        Oct        Sun&gt;=15        0:00        1:00        S
! Rule        Para        2005        max        -        Mar        Sun&gt;=8        0:00        0        -
  
  # Zone        NAME                GMTOFF        RULES        FORMAT        [UNTIL]
  Zone America/Asuncion        -3:50:40 -        LMT        1890
--- 1364,1387 ----
  # Decree 1,867 (2004-03-05)
  # From Carlos Raul Perasso via Jesper Norgaard Welen (2006-10-13)
  # <a class="moz-txt-link-rfc2396E" href="http://www.presidencia.gov.py/decretos/D1867.pdf">&lt;http://www.presidencia.gov.py/decretos/D1867.pdf&gt;</a>
! Rule        Para        2004        2009        -        Oct        Sun&gt;=15        0:00        1:00        S
! Rule        Para        2005        2009        -        Mar        Sun&gt;=8        0:00        0        -
! # From Carlos Raul Perasso (2010-02-18):
! # By decree number 3958 issued yesterday (
! # &lt;a href=<a class="moz-txt-link-rfc2396E" href="http://www.presidencia.gov.py/v1/wp-content/uploads/2010/02/decreto3958.pdf">"http://www.presidencia.gov.py/v1/wp-content/uploads/2010/02/decreto3958.pdf"</a>&gt;
! # <a class="moz-txt-link-freetext" href="http://www.presidencia.gov.py/v1/wp-content/uploads/2010/02/decreto3958.pdf">http://www.presidencia.gov.py/v1/wp-content/uploads/2010/02/decreto3958.pdf</a>
! # &lt;/a&gt;
! # )
! # Paraguay changes its DST schedule, postponing the March rule to April and
! # modifying the October date. The decree reads:
! # ...
! # Art. 1. It is hereby established that from the second Sunday of the month of
! # April of this year (2010), the official time is to be set back 60 minutes,
! # and that on the first Sunday of the month of October, it is to be set
! # forward 60 minutes, in all the territory of the Paraguayan Republic.
! # ...
! Rule        Para        2010        max        -        Oct        Sun&lt;=7        0:00        1:00        S
! Rule        Para        2010        max        -        Apr        Sun&gt;=8        0:00        0        -
  
  # Zone        NAME                GMTOFF        RULES        FORMAT        [UNTIL]
  Zone America/Asuncion        -3:50:40 -        LMT        1890

  
    </pre>
  </blockquote>
  <pre wrap=""><!---->

  </pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">-- 

Release Lead, Java SE Updates
Oracle Corporation
(408)276-7564
</pre>
</body>
</html>