Go to the source code of this file.
◆ DAYSPER100YEARS
Definition at line 6 of file time.h.
◆ DAYSPER400YEARS
Definition at line 7 of file time.h.
◆ DAYSPER4YEARS
Definition at line 5 of file time.h.
◆ DAYSPERYEAR
Definition at line 4 of file time.h.
◆ DIFFDAYS
Definition at line 2 of file time.h.
◆ DIFFTIME
#define DIFFTIME 0x19db1ded53e8000ULL |
Definition at line 1 of file time.h.
◆ LEAPDAY
◆ SECONDSPERDAY
#define SECONDSPERDAY (24*60*60) |
Definition at line 8 of file time.h.
◆ SECONDSPERHOUR
#define SECONDSPERHOUR (60*60) |
Definition at line 9 of file time.h.
◆ FileTimeToUnixTime()
◆ leapdays_passed()
static __inline long leapdays_passed |
( |
long |
days | ) |
|
|
static |
◆ leapyears_passed()
static __inline long leapyears_passed |
( |
long |
days | ) |
|
|
static |
Definition at line 31 of file time.h.
32{
33 long quadcenturies, centuries, quadyears;
35 days -= quadcenturies;
37 days += centuries;
39 return quadyears - centuries + quadcenturies;
40}
Referenced by _gmtime_worker(), and leapdays_passed().
◆ years_passed()
static __inline long years_passed |
( |
long |
days | ) |
|
|
static |
Definition at line 49 of file time.h.
50{
52}
static __inline long leapdays_passed(long days)
◆ dst_begin
◆ dst_end