Highly Reusable Software
#License - #Source code - #Example Use -
#include <librock/sdncalh.h> int librock_DayOfWeek( long int sdn); /* Convert a SDN to a day-of-week number (0 to 6). Where 0 stands for * Sunday, 1 for Monday, etc. and 6 stands for Saturday. */ char *librock_DayNameShort; /* * Convert a day-of-week number (0 to 6), as returned from DayOfWeek(), to * the abbreviated (three character) name of the day. */ char *librock_DayNameLong; /* * Convert a day-of-week number (0 to 6), as returned from DayOfWeek(), to * the name of the day. */
Obtain sdn, the serial day number, from the other calendar conversion routines.
//No external calls
Copyright 1993-1995, Scott E. Lee, all rights reserved. Licensed under BSD-ish license, NO WARRANTY. Copies must retain this block. License text in <librock/license/sdncal.txt> librock_LIDESC_HC=553e181388455f0eef17ccd9e2a51c1f3ae8daf0
Verbatim copying and distribution of this generated page is permitted in any medium provided that no changes are made.
(The source of this manual page may be covered by a more permissive license which allows modifications.)
Want to help? We welcome comments, patches. -- Need help? Request paid support.