tzfile.h (15927) | tzfile.h (17209) |
---|---|
1 2 | |
3#ifndef TZFILE_H 4 5#define TZFILE_H 6 7/* | 1#ifndef TZFILE_H 2 3#define TZFILE_H 4 5/* |
6** This file is in the public domain, so clarified as of 7** June 5, 1996 by Arthur David Olson (arthur_david_olson@nih.gov). 8*/ 9 10/* |
|
8** This header is for use ONLY with the time conversion code. 9** There is no guarantee that it will remain unchanged, 10** or that it will remain at all. 11** Do NOT copy it to any system include directory. 12** Thank you! 13*/ 14 15/* 16** ID 17*/ 18 19#ifndef lint 20#ifndef NOID | 11** This header is for use ONLY with the time conversion code. 12** There is no guarantee that it will remain unchanged, 13** or that it will remain at all. 14** Do NOT copy it to any system include directory. 15** Thank you! 16*/ 17 18/* 19** ID 20*/ 21 22#ifndef lint 23#ifndef NOID |
21/*static char tzfilehid[] = "@(#)tzfile.h 7.6";*/ | 24/* 25static char tzfilehid[] = "@(#)tzfile.h 7.8"; 26*/ |
22#endif /* !defined NOID */ 23#endif /* !defined lint */ 24 25/* 26** Information about time zone files. 27*/ 28 29#ifndef TZDIR --- 120 unchanged lines hidden (view full) --- 150#define EPOCH_YEAR 1970 151#define EPOCH_WDAY TM_THURSDAY 152 153/* 154** Accurate only for the past couple of centuries; 155** that will probably do. 156*/ 157 | 27#endif /* !defined NOID */ 28#endif /* !defined lint */ 29 30/* 31** Information about time zone files. 32*/ 33 34#ifndef TZDIR --- 120 unchanged lines hidden (view full) --- 155#define EPOCH_YEAR 1970 156#define EPOCH_WDAY TM_THURSDAY 157 158/* 159** Accurate only for the past couple of centuries; 160** that will probably do. 161*/ 162 |
158#define isleap(y) ((((y) % 4) == 0 && ((y) % 100) != 0) || ((y) % 400) == 0) | 163#define isleap(y) (((y) % 4) == 0 && (((y) % 100) != 0 || ((y) % 400) == 0)) |
159 160#ifndef USG 161 162/* 163** Use of the underscored variants may cause problems if you move your code to 164** certain System-V-based systems; for maximum portability, use the 165** underscore-free variants. The underscored variants are provided for 166** backward compatibility only; they may disappear from future versions of --- 16 unchanged lines hidden --- | 164 165#ifndef USG 166 167/* 168** Use of the underscored variants may cause problems if you move your code to 169** certain System-V-based systems; for maximum portability, use the 170** underscore-free variants. The underscored variants are provided for 171** backward compatibility only; they may disappear from future versions of --- 16 unchanged lines hidden --- |