From 54544753b85aed7e6406c728d47640c389b7d755 Mon Sep 17 00:00:00 2001 From: alwin Date: Mon, 21 Mar 2005 14:44:12 +0000 Subject: more doc --- diff --git a/etc/nationaldays/README b/etc/nationaldays/README index a65236f..71af75b 100644 --- a/etc/nationaldays/README +++ b/etc/nationaldays/README @@ -12,12 +12,37 @@ then a short description tag. for example. It should be used later on. -then a list of non-floating holidays follows, encapsulated with +then a list of holidays follows, encapsulated with ... -Each entry has the form +A non-floating holiday entry has the form -floating holidays are not supported this moment. +floating holidays: + + + ... calc entries .. + + + +The calcentries may following tags: + +date - a short date (without Year!) in form M-D or the string "easter" +offset - integer. these days will added (or substracted) after all other calcs are made. +weekday - the day of week as monday, tuesday and so on. +dayofmoth - in combination with weekday you can say "first of ..." or "second of ..." +month - monthname(!) eg. january, february and so on. +datedep - dependy to "date", may "before" or "after". + +example: + + + + + + +these will calculate sunday before christmaseve or christmas eve itself if it is a sunday. + +see german.xml for futher examples. -- cgit v0.9.0.2