1 /* This file is taken from http://www.genealogy.org/~scottlee/
2 Only this initial comment has been added. The next comment
3 gives the original copyright notice.
7 /* $selId: dow.c,v 2.0 1995/10/24 01:13:06 lees Exp $
8 * Copyright 1993-1995, Scott E. Lee, all rights reserved.
9 * Permission granted to use, copy, modify, distribute and sell so long as
10 * the above copyright and this permission statement are retained in all
11 * copies. THERE IS NO WARRANTY - USE AT YOUR OWN RISK.
14 /**************************************************************************
16 * These are the externally visible components of this file:
22 * Convert a SDN to a day-of-week number (0 to 6). Where 0 stands for
23 * Sunday, 1 for Monday, etc. and 6 stands for Saturday.
25 * char *DayNameShort[7];
27 * Convert a day-of-week number (0 to 6), as returned from DayOfWeek(), to
28 * the abbreviated (three character) name of the day.
30 * char *DayNameLong[7];
32 * Convert a day-of-week number (0 to 6), as returned from DayOfWeek(), to
33 * the name of the day.
35 **************************************************************************/
53 char *DayNameShort[7] = {
63 char *DayNameLong[7] = {