Searched refs:era (Results 1 – 3 of 3) sorted by relevance
41 bigint_type era = ((z >= 0) ? z : (z - 146096)) / 146097; in time_civil_from_days() local42 unsigned int doe = (z - era * (bigint_type)146097); in time_civil_from_days()45 bigint_type y = (time_t)yoe + era * 400; in time_civil_from_days()
117 int era; in hinnant() local120 era = ((y >= 0) ? y : (y - 399)) / 400; in hinnant()121 yoe = y - era * 400; in hinnant()125 return era * 146097 + ((int) doe) - 719468; in hinnant()
37 int64_t era = (y >= 0 ? y : y - 399) / 400; in time_days_from_civil() local38 unsigned int yoe = y - era * 400; in time_days_from_civil()42 return era * 146097 + (time_t)doe - 719468; in time_days_from_civil()