Searched refs:COUNT_LEAPS (Results 1 - 2 of 2) sorted by relevance

/external/chromium/base/third_party/nspr/
H A Dprtime.cc192 * The COUNT_LEAPS macro counts the number of leap years passed by
206 #define COUNT_LEAPS(Y) ( ((Y)-1)/4 - ((Y)-1)/100 + ((Y)-1)/400 ) macro
207 #define COUNT_DAYS(Y) ( ((Y)-1)*365 + COUNT_LEAPS(Y) )
/external/chromium_org/base/third_party/nspr/
H A Dprtime.cc197 * The COUNT_LEAPS macro counts the number of leap years passed by
211 #define COUNT_LEAPS(Y) ( ((Y)-1)/4 - ((Y)-1)/100 + ((Y)-1)/400 ) macro
212 #define COUNT_DAYS(Y) ( ((Y)-1)*365 + COUNT_LEAPS(Y) )

Completed in 54 milliseconds