Lines Matching refs:year
144 int year; in SdnToGregorian() local
170 year = (century * 100) + (temp / DAYS_PER_4_YEARS); in SdnToGregorian()
182 year += 1; in SdnToGregorian()
187 year -= 4800; in SdnToGregorian()
188 if (year <= 0) in SdnToGregorian()
189 year--; in SdnToGregorian()
191 *pYear = year; in SdnToGregorian()
207 zend_long year; in GregorianToSdn() local
227 year = inputYear + 4801; in GregorianToSdn()
229 year = inputYear + 4800; in GregorianToSdn()
237 year--; in GregorianToSdn()
240 return (((year / 100) * DAYS_PER_400_YEARS) / 4 in GregorianToSdn()
241 + ((year % 100) * DAYS_PER_4_YEARS) / 4 in GregorianToSdn()