author | mickeyl <mickeyl> | 2005-05-06 21:11:54 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2005-05-06 21:11:54 (UTC) |
commit | 4e47752ffb1083ca4426d9c08ae1c1ceb100acdb (patch) (side-by-side diff) | |
tree | 0057cce6102ce078d52e7d2e41ef99839a9e32cb /etc/nationaldays/us.xml | |
parent | e8bb0ef7701e6bb565dc178424687e82b12bd8ec (diff) | |
download | opie-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
-rw-r--r-- | etc/nationaldays/us.xml | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/etc/nationaldays/us.xml b/etc/nationaldays/us.xml new file mode 100644 index 0000000..fc75b86 --- a/dev/null +++ b/etc/nationaldays/us.xml @@ -0,0 +1,49 @@ +<?xml version="1.0" encoding="UTF-8"?> +<nationaldays> +<description value="US Holidays"/> +<entries> +<entry name="New Year's Day" date="01-01"/> +<entry name="Martin Luther King, Jr.'s Birthday" date="01-15"/> +<entry name="President's Day" type="floating"> + <calculation> + <dayofmonth value="third"/> + <weekday value="monday"/> + <month value="february"/> + </calculation> +</entry> +<entry name="Memorial Day" type="floating"> + <calculation> + <dayofmonth value="last"/> + <weekday value="monday"/> + <month value="may"/> + </calculation> +</entry> +<entry name="Flag Day" date="06-14"/> +<entry name="Independence Day" date="07-04"/> +<entry name="Labor Day" type="floating"> + <calculation> + <dayofmonth value="first"/> + <weekday value="monday"/> + <month value="september"/> + </calculation> +</entry> +<entry name="Veteran's Day" date="11-11"/> +<entry name="Thanksgiving" type="floating"> + <calculation> + <dayofmonth value="last"/> + <weekday value="thursday"/> + <month value="november"/> + </calculation> +</entry> +<entry name="Day after Thanksgiving" type="floating"> + <calculation> + <dayofmonth value="last"/> + <weekday value="thursday"/> + <month value="november"/> + <offset value="+1"/> + </calculation> +</entry> +<entry name="Christmas Eve" date="12-24"/> +<entry name="Christmas Day" date="12-25"/> +</entries> +</nationaldays> |