2000-02-18 03:38:33 +08:00
|
|
|
#ifndef _TZFILE_H
|
|
|
|
#define _TZFILE_H
|
|
|
|
|
|
|
|
#define SECSPERDAY (60*60*24)
|
|
|
|
#define DAYSPERNYEAR 365
|
|
|
|
#define DAYSPERLYEAR 366
|
|
|
|
|
|
|
|
#define isleap(y) (((y) % 4) == 0 && ((y) % 100) != 0 || ((y) % 400) == 0)
|
2000-10-28 13:41:44 +08:00
|
|
|
#endif
|