summaryrefslogtreecommitdiffstats
path: root/private/crt32/time/days.c
diff options
context:
space:
mode:
Diffstat (limited to 'private/crt32/time/days.c')
-rw-r--r--private/crt32/time/days.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/private/crt32/time/days.c b/private/crt32/time/days.c
new file mode 100644
index 000000000..c259f996c
--- /dev/null
+++ b/private/crt32/time/days.c
@@ -0,0 +1,26 @@
+/***
+*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
+};