Subject: | end of the world |
This module only contains data through 2010. See attached patch for
2011.
Subject: | usfederal.patch |
diff --git a/lib/Date/Holidays/USFederal.pm b/lib/Date/Holidays/USFederal.pm
old mode 100644
new mode 100755
index eacb12a..d32f0cd
--- a/lib/Date/Holidays/USFederal.pm
+++ b/lib/Date/Holidays/USFederal.pm
@@ -48,7 +48,9 @@ $holidays{ 2006, 1, 2 } =
$holidays{ 2007, 1, 1 } =
$holidays{ 2008, 1, 1 } =
$holidays{ 2009, 1, 1 } =
-$holidays{ 2010, 1, 1 } = "New Year's Day";
+$holidays{ 2010, 1, 1 } =
+$holidays{ 2010, 12, 1 } =
+"New Year's Day";
$holidays{ 1997, 1, 20 } =
$holidays{ 1998, 1, 19 } =
@@ -63,7 +65,9 @@ $holidays{ 2006, 1, 16 } =
$holidays{ 2007, 1, 15 } =
$holidays{ 2008, 1, 21 } =
$holidays{ 2009, 1, 19 } =
-$holidays{ 2010, 1, 18 } = "Martin Luther King, Jr. Birthday";
+$holidays{ 2010, 1, 18 } =
+$holidays{ 2011, 1, 17 } =
+"Martin Luther King, Jr. Birthday";
$holidays{ 1997, 2, 17 } =
$holidays{ 1998, 2, 16 } =
@@ -78,7 +82,9 @@ $holidays{ 2006, 2, 20 } =
$holidays{ 2007, 2, 19 } =
$holidays{ 2008, 2, 18 } =
$holidays{ 2009, 2, 16 } =
-$holidays{ 2010, 2, 15 } ="Washington's Birthday / Presidents Day";
+$holidays{ 2010, 2, 15 } =
+$holidays{ 2011, 2, 21 } =
+"Washington's Birthday / Presidents Day";
$holidays{ 1997, 5, 26 } =
$holidays{ 1998, 5, 25 } =
@@ -93,7 +99,9 @@ $holidays{ 2006, 5, 29 } =
$holidays{ 2007, 5, 28 } =
$holidays{ 2008, 5, 26 } =
$holidays{ 2009, 5, 25 } =
-$holidays{ 2010, 5, 31 } = "Memorial Day";
+$holidays{ 2010, 5, 31 } =
+$holidays{ 2011, 5, 30 } =
+"Memorial Day";
$holidays{ 1997, 7, 4 } =
$holidays{ 1998, 7, 5 } =
@@ -108,7 +116,9 @@ $holidays{ 2006, 7, 4 } =
$holidays{ 2007, 7, 4 } =
$holidays{ 2008, 7, 4 } =
$holidays{ 2009, 7, 3 } =
-$holidays{ 2010, 7, 5 } = "Independence Day";
+$holidays{ 2010, 7, 5 } =
+$holidays{ 2011, 7, 4 } =
+"Independence Day";
$holidays{ 1997, 9, 1 } =
$holidays{ 1998, 9, 1 } =
@@ -123,7 +133,9 @@ $holidays{ 2006, 9, 4 } =
$holidays{ 2007, 9, 3 } =
$holidays{ 2008, 9, 1 } =
$holidays{ 2009, 9, 7 } =
-$holidays{ 2010, 9, 6 } = "Labor Day";
+$holidays{ 2010, 9, 6 } =
+$holidays{ 2011, 9, 5 } =
+"Labor Day";
$holidays{ 1997, 10, 13 } =
$holidays{ 1998, 10, 13 } =
@@ -138,7 +150,9 @@ $holidays{ 2006, 10, 9 } =
$holidays{ 2007, 10, 8 } =
$holidays{ 2008, 10, 13 } =
$holidays{ 2009, 10, 12 } =
-$holidays{ 2010, 10, 11 } = "Columbus Day";
+$holidays{ 2010, 10, 11 } =
+$holidays{ 2011, 10, 10 } =
+"Columbus Day";
$holidays{ 1997, 11, 11 } =
$holidays{ 1998, 11, 11 } =
@@ -153,7 +167,9 @@ $holidays{ 2006, 11, 10 } =
$holidays{ 2007, 11, 12 } =
$holidays{ 2008, 11, 11 } =
$holidays{ 2009, 11, 11 } =
-$holidays{ 2010, 11, 11 } = "Veterans Day";
+$holidays{ 2010, 11, 11 } =
+$holidays{ 2011, 11, 11 } =
+"Veterans Day";
$holidays{ 1997, 11, 27 } =
$holidays{ 1998, 11, 27 } =
@@ -168,7 +184,9 @@ $holidays{ 2006, 11, 23 } =
$holidays{ 2007, 11, 22 } =
$holidays{ 2008, 11, 27 } =
$holidays{ 2009, 11, 26 } =
-$holidays{ 2010, 11, 25 } = "Thanksgiving Day";
+$holidays{ 2010, 11, 25 } =
+$holidays{ 2011, 11, 24 } =
+"Thanksgiving Day";
$holidays{ 1997, 12, 25 } =
$holidays{ 1998, 12, 25 } =
@@ -183,7 +201,9 @@ $holidays{ 2006, 12, 25 } =
$holidays{ 2007, 12, 25 } =
$holidays{ 2008, 12, 25 } =
$holidays{ 2009, 12, 25 } =
-$holidays{ 2010, 12, 24 } = "Christmas Day";
+$holidays{ 2010, 12, 24 } =
+$holidays{ 2011, 12, 26 } =
+"Christmas Day";
sub is_usfed_holiday {