Home | History | Annotate | Download | only in nspr

Lines Matching refs:COUNT_DAYS

199  * The COUNT_DAYS macro counts the number of days since 01/01/01 till the
207 #define COUNT_DAYS(Y) ( ((Y)-1)*365 + COUNT_LEAPS(Y) )
208 #define DAYS_BETWEEN_YEARS(A, B) (COUNT_DAYS(B) - COUNT_DAYS(A))