private static long elapsedDays ( int year ) { int y = year - 1 ; return DAYS_IN_YEAR * ( long ) y + div ( y , 400 ) - div ( y , 100 ) + div ( y , 4 ) ; }
Find the number of elapsed days from the epoch to the beginning of the given year .