windows-nt/Source/XPSP1/NT/com/ole32/common/cruntime/chicago/days.c

27 lines
729 B
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
/***
*days.c - static arrays with days from beg of year for each month
*
* Copyright (c) 1985-1991, Microsoft Corporation. All rights reserved.
*
*Purpose:
* contains static arrays used by gmtime and statconv to determine
* date and time values. Shows days from beg of year.
*
*Revision History:
* 03-??-84 RLB initial version
* 05-??-84 DFW split out definitions from ctime routines
* 07-03-89 PHG removed _NEAR_ for 386
* 03-20-90 GJF Fixed copyright.
*
*******************************************************************************/
#include <internal.h>
int _lpdays[] = {
-1, 30, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334, 365
};
int _days[] = {
-1, 30, 58, 89, 119, 150, 180, 211, 242, 272, 303, 333, 364
};