Patch needs a little fix.<br><br>LastSun should be lastSun.... i.e. lowercase first letter.<br><br>Having uppercase first letter while inconsistent, breaks the JodaTime compiler...<br><br> [untar] Expanding: /home/waded/working/TzData/<div id=":1gt">
OlsonDB/tzdata2012f-plus.tar.gz into /home/waded/working/TzData/tmp/tzdata<br>
[echo] Running the JodaTime ZoneInfoCompiler<br> [java] Exception in thread "main" java.lang.IllegalArgumentException: LastSun<br> [java] at org.joda.time.tz.ZoneInfoCompiler$DateTimeOfYear.<init>(ZoneInfoCompiler.java:571)<br>
[java] at org.joda.time.tz.ZoneInfoCompiler$Rule.<init>(ZoneInfoCompiler.java:660)<br> [java] at org.joda.time.tz.ZoneInfoCompiler.parseDataFile(ZoneInfoCompiler.java:495)<br> [java] at org.joda.time.tz.ZoneInfoCompiler.compile(ZoneInfoCompiler.java:370)<br>
[java] at org.joda.time.tz.ZoneInfoCompiler.main(ZoneInfoCompiler.java:136)<div class="yj6qo ajU"><div id=":2a0" class="ajR" tabindex="0"><img class="ajT" src="https://mail.google.com/mail/images/cleardot.gif"></div>
</div></div><br><br><div class="gmail_quote">On 13 September 2012 21:11, Robert Elz <span dir="ltr"><<a href="mailto:kre@munnari.oz.au" target="_blank">kre@munnari.oz.au</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Date: Mon, 10 Sep 2012 11:45:03 +1300<br>
From: "Nicky" <<a href="mailto:pereiranick@mcil.gov.ws">pereiranick@mcil.gov.ws</a>><br>
Message-ID: <000101cd8edc$c0599ca0$410cd5e0$@<a href="http://mcil.gov.ws" target="_blank">mcil.gov.ws</a>><br>
<div class="im"><br>
| Can you please update Daylight Savings information for Samoa (South<br>
| Pacific). Daylight Saving Time commences on Sunday 30th September 2012 and<br>
| ends on Sunday 7th of April 2013.<br>
<br>
</div>Thanks for the update.<br>
<div class="im"><br>
| Please find link below for more information.<br>
| <a href="http://www.mcil.gov.ws/mcil_publications.html" target="_blank">http://www.mcil.gov.ws/mcil_publications.html</a><br>
<br>
</div>I note that that also includes Summer Time dates for the summer of<br>
2013/4 which look as if they may be following the pattern of summer<br>
time (daylight savings) running from the last Sunday in September to<br>
the first Sunday in April - so I am going to assume that for years<br>
even further into the future in the patch I am submitting below for<br>
consideration.<br>
<br>
If you have any reason to believe a different rule is likely to<br>
apply, now, or any time in the future (and/or if there are any<br>
exception years) we'd appreciate learning of it as far in advance<br>
of the change as possible (3 weeks notice is not really enough<br>
preparation time for most users of this data).<br>
<br>
kre<br>
<br>
The following patch is against the (as yet unannounced) tzdata2012f<br>
release.<br>
<br>
--- australasia 2012-08-31 20:27:35.000000000 +0700<br>
+++ australasia.new 2012-09-13 16:03:52.000000000 +0700<br>
@@ -628,6 +628,25 @@<br>
# Although Samoa has used Daylight Saving Time in the 2010-2011 and 2011-2012<br>
# seasons, there is not yet any indication that this trend will continue on<br>
# a regular basis. For now, we have explicitly listed the transitions below.<br>
+#<br>
+# From Nicholas Pereira (2012-09-10):<br>
+# Daylight Saving Time commences on Sunday 30th September 2012 and<br>
+# ends on Sunday 7th of April 2013.<br>
+#<br>
+# Please find link below for more information.<br>
+# <a href="<a href="http://www.mcil.gov.ws/mcil_publications.html" target="_blank">http://www.mcil.gov.ws/mcil_publications.html</a>"><br>
+# <a href="http://www.mcil.gov.ws/mcil_publications.html" target="_blank">http://www.mcil.gov.ws/mcil_publications.html</a><br>
+# </a><br>
+#<br>
+# That publication also includes dates for Summer of 2013/2014<br>
+# which give the impression of a pattern in selecting dates for the<br>
+# future, so for now, we will guess this will continue<br>
+<br>
+# Western Samoa<br>
+# Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S<br>
+Rule WS 2012 max - Sep LastSun 3:00 1 D<br>
+Rule WS 2013 max - Apr Sun>=1 4:00 0 -<br>
+# Zone NAME GMTOFF RULES FORMAT [UNTIL]<br>
Zone Pacific/Apia 12:33:04 - LMT 1879 Jul 5<br>
-11:26:56 - LMT 1911<br>
-11:30 - SAMT 1950 # Samoa Time<br>
@@ -636,7 +655,7 @@<br>
-11:00 - WST 2011 Sep 24 3:00<br>
-11:00 1:00 WSDT 2011 Dec 30<br>
13:00 1:00 WSDT 2012 Apr 1 4:00<br>
- 13:00 - WST<br>
+ 13:00 WS WS%sT<br>
<br>
# Solomon Is<br>
# excludes Bougainville, for which see Papua New Guinea<br>
</blockquote></div><br>