| www.delorie.com/gnu/docs/gcal/gcal_24.html | search |
![]() Buy GNU books! | |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
A list of days is used to define recurrent fixed dates and to use only one line in the resource file for them, instead of using several lines in a resource file needed for defining these recurrent fixed dates separately.
A list of days is specified by a `,' separator character; it must contain two elements minimum and may have any number of elements. A single element of the list may not be set to a zero value and be not concrete therefore. (This would not make any sense in this context.)
Assuming a fixed date shall always occur on the 1st and the 15th day in every month of the year 1996, e.g. `Tax returns', one solution would be on the one hand a fixed date entry in the resource file for the 1st of the month and another entry for the 15th of the month, which would be a total of two entries in the resource file for such a fixed date.
On the other hand, this expense can be reduced to a total of only one entry in the resource file by using a list of days, which is likewise valid for the 1st and the 15th day in every month, that is
19960001,15 Tax returns |
The use of lists of days in the date part is permitted as follows:
yyyymmdd|www|wwwn,[mm]dd|[mm]www|[mm]wwwn ...
yyyy*d|wn|nwww,n|nwww ...
yyyy@e|t|dvar,|[+|-]n[www],[+|-]n[www] ...
000001fr3,12,99,mon,apr14,993,julfri3,08fr
199600mon,fr,12
0*d1,1fr,999,17mo
1996*w1fr,1,17mo,99fr
0@a,+1,-3,5,+4fr,2fr,-10sa
1996@e+1,-3,5,+4fr,2fr,-10sa
1996@t+1,-3,5,+4fr,2fr,-10sa
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
| webmaster donations bookstore | delorie software privacy |
| Copyright © 2003 by The Free Software Foundation | Updated Jun 2003 |