summaryrefslogtreecommitdiff
path: root/etc/nationaldays/us-ca.xml
authormickeyl <mickeyl>2005-05-06 21:11:54 (UTC)
committer mickeyl <mickeyl>2005-05-06 21:11:54 (UTC)
commit4e47752ffb1083ca4426d9c08ae1c1ceb100acdb (patch) (side-by-side diff)
tree0057cce6102ce078d52e7d2e41ef99839a9e32cb /etc/nationaldays/us-ca.xml
parente8bb0ef7701e6bb565dc178424687e82b12bd8ec (diff)
downloadopie-4e47752ffb1083ca4426d9c08ae1c1ceb100acdb.zip
opie-4e47752ffb1083ca4426d9c08ae1c1ceb100acdb.tar.gz
opie-4e47752ffb1083ca4426d9c08ae1c1ceb100acdb.tar.bz2
add US holidays to nationaldays and improve README. patch courtesy Erik Hovland (erik@hovland.org) - thanks
Diffstat (limited to 'etc/nationaldays/us-ca.xml') (more/less context) (ignore whitespace changes)
-rw-r--r--etc/nationaldays/us-ca.xml35
1 files changed, 35 insertions, 0 deletions
diff --git a/etc/nationaldays/us-ca.xml b/etc/nationaldays/us-ca.xml
new file mode 100644
index 0000000..bfdec4a
--- a/dev/null
+++ b/etc/nationaldays/us-ca.xml
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<nationaldays>
+<description value="Californian Holidays"/>
+<entries>
+<entry name="Martin Luther King, Jr.'s Birthday Observed" type="floating">
+ <calculation>
+ <weekday value="monday"/>
+ <datedep value="after"/>
+ <date value="01-15"/>
+ </calculation>
+</entry>
+<entry name="Cesar Chavez's Birthday" date="03-31"/>
+<entry name="Daylight Savings (spring forward)" type="floating">
+ <calculation>
+ <dayofmonth value="first"/>
+ <weekday value="sunday"/>
+ <month value="april"/>
+ </calculation>
+</entry>
+<entry name="Columbus Day" type="floating">
+ <calculation>
+ <dayofmonth value="second"/>
+ <weekday value="monday"/>
+ <month value="october"/>
+ </calculation>
+</entry>
+<entry name="Daylight Savings (fall back)" type="floating">
+ <calculation>
+ <dayofmonth value="last"/>
+ <weekday value="sunday"/>
+ <month value="october"/>
+ </calculation>
+</entry>
+</entries>
+</nationaldays>