Home
last modified time | relevance | path

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

/libcore/ojluni/src/test/java/time/test/java/time/
DTestOffsetDateTime_instants.java132 long days_0000_to_1970 = (146097 * 5) - (30 * 365 + 7); in factory_ofInstant_tooLow() local
134 long days = (year * 365L + (year / 4 - year / 100 + year / 400)) - days_0000_to_1970; in factory_ofInstant_tooLow()
145 long days_0000_to_1970 = (146097 * 5) - (30 * 365 + 7); in factory_ofInstant_tooBig() local
147 long days = (year * 365L + (year / 4 - year / 100 + year / 400)) - days_0000_to_1970; in factory_ofInstant_tooBig()
154 long days_0000_to_1970 = (146097 * 5) - (30 * 365 + 7); in factory_ofInstant_minWithMinOffset() local
156 long days = (year * 365L + (year / 4 - year / 100 + year / 400)) - days_0000_to_1970; in factory_ofInstant_minWithMinOffset()
170 long days_0000_to_1970 = (146097 * 5) - (30 * 365 + 7); in factory_ofInstant_minWithMaxOffset() local
172 long days = (year * 365L + (year / 4 - year / 100 + year / 400)) - days_0000_to_1970; in factory_ofInstant_minWithMaxOffset()
186 long days_0000_to_1970 = (146097 * 5) - (30 * 365 + 7); in factory_ofInstant_maxWithMinOffset() local
188 long days = (year * 365L + (year / 4 - year / 100 + year / 400)) + 365 - days_0000_to_1970; in factory_ofInstant_maxWithMinOffset()
[all …]
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKZonedDateTime.java503 long days_0000_to_1970 = (146097 * 5) - (30 * 365 + 7);
505 long days = (year * 365L + (year / 4 - year / 100 + year / 400)) - days_0000_to_1970;
520 long days_0000_to_1970 = (146097 * 5) - (30 * 365 + 7);
522 long days = (year * 365L + (year / 4 - year / 100 + year / 400)) - days_0000_to_1970;
537 long days_0000_to_1970 = (146097 * 5) - (30 * 365 + 7);
539 long days = (year * 365L + (year / 4 - year / 100 + year / 400)) + 365 - days_0000_to_1970;
554 long days_0000_to_1970 = (146097 * 5) - (30 * 365 + 7);
556 long days = (year * 365L + (year / 4 - year / 100 + year / 400)) + 365 - days_0000_to_1970;
584 long days_0000_to_1970 = (146097 * 5) - (30 * 365 + 7);
586 long days = (year * 365L + (year / 4 - year / 100 + year / 400)) - days_0000_to_1970;
[all …]