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

/bionic/libc/bionic/
H A Dtime64.c461 static Time64_T seconds_between_years(Year left_year, Year right_year) { argument
462 int increment = (left_year > right_year) ? 1 : -1;
466 if( left_year > 2400 ) {
467 cycles = (left_year - 2400) / 400;
468 left_year -= cycles * 400;
471 else if( left_year < 1600 ) {
472 cycles = (left_year - 1600) / 400;
473 left_year += cycles * 400;
477 while( left_year != right_year ) {

Completed in 17 milliseconds