/* * dayslib.h * * Small library to handle dates. The algorithms are mostly from Pascal's SWAG. * * Header file. * * History: * 15/09/06 Creation from the .c file. * * Author: Dario Rodriguez dario@softhome.net * This code is dual licensed under the terms of the GNU LGPL/3-clause BSD. */ #ifndef DAYSLIB_H #define DAYSLIB_H /* Function prototypes */ int yday2mday(int year, int yday, int *month, int *day); int mday2yday(int year, int month, int day, int *yday); int yday2wday(int year, int yday, int *wday); int *GetYearDays(int year); #endif