Home
last modified time | relevance | path

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

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