Searched refs:YRBASE (Results 1 - 1 of 1) sorted by last modified time

/haiku/src/bin/unzip/
H A Dfileio.c1632 # define YRBASE 1900 macro
1638 tm->tm_year = ((int)(dosdatetime >> 25) & 0x7f) + (1980 - YRBASE);
1655 # define YRBASE 1900
1659 # define YRBASE 1970
1683 yr = ((int)(dosdatetime >> 25) & 0x7f) + (1980 - YRBASE);
1705 /* leap = # of leap yrs from YRBASE up to but not including current year */
1706 leap = ((yr + YRBASE - 1) / 4); /* leap year base factor */
1712 if ((mo > 1) && ((yr+YRBASE)%4 == 0) && ((yr+YRBASE) != 2100))
1715 /* convert date & time to seconds relative to 00:00:00, 01/01/YRBASE */
[all...]

Completed in 41 milliseconds