Lines Matching refs:YRBASE
1705 # define YRBASE 1900
1711 tm->tm_year = ((int)(dosdatetime >> 25) & 0x7f) + (1980 - YRBASE);
1728 # define YRBASE 1900
1732 # define YRBASE 1970
1756 yr = ((int)(dosdatetime >> 25) & 0x7f) + (1980 - YRBASE);
1778 /* leap = # of leap yrs from YRBASE up to but not including current year */
1779 leap = ((yr + YRBASE - 1) / 4); /* leap year base factor */
1785 if ((mo > 1) && ((yr+YRBASE)%4 == 0) && ((yr+YRBASE) != 2100))
1788 /* convert date & time to seconds relative to 00:00:00, 01/01/YRBASE */