Lines Matching refs:COUNT_LEAPS
192 * The COUNT_LEAPS macro counts the number of leap years passed by206 #define COUNT_LEAPS(Y) ( ((Y)-1)/4 - ((Y)-1)/100 + ((Y)-1)/400 )207 #define COUNT_DAYS(Y) ( ((Y)-1)*365 + COUNT_LEAPS(Y) )