File: tzfile.h

package info (click to toggle)
linux86 0.16.21-2
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,072 kB
  • sloc: ansic: 66,757; asm: 6,154; makefile: 1,374; sh: 703
file content (10 lines) | stat: -rw-r--r-- 232 bytes parent folder | download | duplicates (19)
1
2
3
4
5
6
7
8
9
10
#ifndef _BSD_TZFILE_H
#define _BSD_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)

#endif /* _BSD_TZFILE_H */