[GTER] RES: Horario de Verao agora e "fixo" ...

Frederico A C Neves fneves at registro.br
Thu Sep 18 20:26:40 -03 2008


On Wed, Sep 10, 2008 at 11:58:31AM -0300, Frederico A C Neves wrote:
...
> Se tudo estiver correto são somente 6 exceções até 2038. Anexo diffs
> para o Southamerica e o calculo das exceções. Parece mais do que
> suficiente.... ou alguém acredita que este decreto venha a durar além
> do epoch :-)

Bom, nem tudo estava correto. O Herdon da Mandriva pegou um erro. A
regra com max não é sobrescrita pelas exceções. Temos que ter um
arquivo com todos os intervalos.

Segue anexo agora duplamente verificado,

[]s
Fred
-------------- next part --------------
--- tzdata2008f/southamerica-orig	2008-09-18 19:34:20.000000000 -0300
+++ tzdata2008f/southamerica	2008-09-18 19:55:17.000000000 -0300
@@ -768,12 +768,25 @@
 # Decree <a href="http://pcdsh01.on.br/DecHV6212.gif">6,212</a> (2007-09-26),
 # adopted by the same states as before.
 Rule	Brazil	2007	only	-	Oct	Sun>=8	 0:00	1:00	S
-Rule	Brazil	2008	max	-	Feb	Sun>=15	 0:00	0	-
+# Decree <a href="http://www.planalto.gov.br/ccivil_03/_Ato2007-2010/2008/Decreto/D6558.htm">6,558</a>
+# At last a fixed rule! 3rd Sun Oct to 3rd Sun Feb. There is an
+# exception when the return date is a Carnival Sunday then the return
+# will be the next Sunday. Exceptions until 2038 calculated bellow
+# adopted by the same states as before.
 Rule	Brazil	2008	max	-	Oct	Sun>=15	 0:00	1:00	S
-# The latest ruleset listed above says that the following states observe DST:
-# DF, ES, GO, MG, MS, MT, PR, RJ, RS, SC, SP.
-# For dates after mid-2008, the above rules with TO="max" are guesses
-# and are quite possibly wrong, but are more likely than no DST at all.
+Rule	Brazil	2008	2011	-	Feb	Sun>=15	 0:00	0	-
+Rule	Brazil	2012	only	-	Feb	26	 0:00	0	-
+Rule	Brazil	2013	2014	-	Feb	Sun>=15	 0:00	0	-
+Rule	Brazil	2015	only	-	Feb	22	 0:00	0	-
+Rule	Brazil	2016	2022	-	Feb	Sun>=15	 0:00	0	-
+Rule	Brazil	2023	only	-	Feb	26	 0:00	0	-
+Rule	Brazil	2024	2025	-	Feb	Sun>=15	 0:00	0	-
+Rule	Brazil	2026	only	-	Feb	22	 0:00	0	-
+Rule	Brazil	2027	2033	-	Feb	Sun>=15	 0:00	0	-
+Rule	Brazil	2034	only	-	Feb	26	 0:00	0	-
+Rule	Brazil	2035	2036	-	Feb	Sun>=15	 0:00	0	-
+Rule	Brazil	2037	only	-	Feb	22	 0:00	0	-
+Rule	Brazil	2038	max	-	Feb	Sun>=15	 0:00	0	-
 
 # Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]
 #


More information about the gter mailing list