Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
729 B

  1. /***
  2. *days.c - static arrays with days from beg of year for each month
  3. *
  4. * Copyright (c) 1985-2001, Microsoft Corporation. All rights reserved.
  5. *
  6. *Purpose:
  7. * contains static arrays used by gmtime and statconv to determine
  8. * date and time values. Shows days from beg of year.
  9. *
  10. *Revision History:
  11. * 03-??-84 RLB initial version
  12. * 05-??-84 DFW split out definitions from ctime routines
  13. * 07-03-89 PHG removed _NEAR_ for 386
  14. * 03-20-90 GJF Fixed copyright.
  15. *
  16. *******************************************************************************/
  17. #include <internal.h>
  18. int _lpdays[] = {
  19. -1, 30, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334, 365
  20. };
  21. int _days[] = {
  22. -1, 30, 58, 89, 119, 150, 180, 211, 242, 272, 303, 333, 364
  23. };