home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: InfoMgt
/
InfoMgt.zip
/
cal29a.zip
/
cal.dat
< prev
next >
Wrap
Text File
|
1993-07-17
|
2KB
|
55 lines
This is a sample data file for the CAL program. When CAL uses the
single-month calendar format, it will display up to eight 'special' dates
for that month to the right of the calendar. If the current date happens
to fall on one of these special dates, it will be flagged by an asterisk.
The special date descriptions are specified in this file (cal.dat) as
single lines, formatted as follows:
YYYY MM DD NW xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
YYYY is the year,
MM is the month (01 - 12),
DD is the day (00 if the NW field is used),
NW is the weekday-of-month code (00 if the DD field is used)
xxxx... is the message, if longer than 50 characters it will be truncated.
The data MUST occupy the character fields as shown. If YYYY is specified
as -999, the month and day are assumed to be annual events such as holidays,
and the description will be displayed for any year. If MM is specified
as -9, the day is assumed to be a monthly event for that year. In the
weekday-of-month code NW, N signifies on which weekday W the special date
occurs. For example, 31 indicates the third sunday. Values of W range
from 1 to 7, for Sunday to Saturday, respectively. A value of 9 for N
indicates "last" as in 95 for "last thursday."
NOTE: If cal is invoked with the --europe switch, the W values from 1-7
denote Monday(1) to Sunday(7), rather than Sunday(1) to Saturday(7).
A line must start with -999 or a 4-digit number to be considered as data.
Dates may be in any order, in any amount.
Annual days:
YYYY MM DD NW Description
-999 01 01 00 New Year's Day
-999 01 00 32 Martin Luther King Day
-999 02 14 00 St. Valentine's Day
-999 03 17 00 St. Patrick's Day
-999 04 01 00 All Fool's Day
-999 05 00 21 Mother's Day
-999 05 00 92 Memorial Day
-999 06 00 31 Father's Day
-999 07 04 00 Independence Day
-999 09 00 12 Labor Day
-999 10 31 00 Halloween
-999 11 00 95 Thanksgiving Day
Monthly days:
-999 -9 00 26 JACO Japanese Animation movie showings, 8 pm to midnight
-999 -9 00 46 JACO showings
Other days:
1992 11 03 00 Election Day