Searched refs:year_cycle (Results 1 – 1 of 1) sorted by relevance
320 Year year_cycle; in safe_year() local326 year_cycle = year + cycle_offset(year); in safe_year()330 year_cycle -= 8; in safe_year()334 year_cycle += 11; in safe_year()338 year_cycle += 17; in safe_year()340 year_cycle %= SOLAR_CYCLE_LENGTH; in safe_year()341 if( year_cycle < 0 ) in safe_year()342 year_cycle = SOLAR_CYCLE_LENGTH + year_cycle; in safe_year()344 assert( year_cycle >= 0 ); in safe_year()345 assert( year_cycle < SOLAR_CYCLE_LENGTH ); in safe_year()[all …]