Lines Matching refs:Year
105 #define GoodLeap(Year) (((Year)%4 || (!((Year)%100) && (Year)%400)) ? 0 : 13 )
110 Days ( int Year ) /* return number of days since year "0" */
114 Return = Year * 365; /* first aproximation to the value */
115 if ( Year >= 1 )
118 Return += (Year+3) / 4; /* add in (too many) leap days */
119 Return -= (Year-1) / 100; /* reduce by (too many) centurys */
120 Return += (Year-1) / 400; /* get final answer */