Lines Matching refs:year
144 int year; in SdnToGregorian() local
161 year = (century * 100) + (temp / DAYS_PER_4_YEARS); in SdnToGregorian()
173 year += 1; in SdnToGregorian()
178 year -= 4800; in SdnToGregorian()
179 if (year <= 0) in SdnToGregorian()
180 year--; in SdnToGregorian()
182 *pYear = year; in SdnToGregorian()
198 int year; in GregorianToSdn() local
218 year = inputYear + 4801; in GregorianToSdn()
220 year = inputYear + 4800; in GregorianToSdn()
228 year--; in GregorianToSdn()
231 return (((year / 100) * DAYS_PER_400_YEARS) / 4 in GregorianToSdn()
232 + ((year % 100) * DAYS_PER_4_YEARS) / 4 in GregorianToSdn()