Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/nio/file/attribute/
DFileTime.java373 private static final long SECONDS_0000_TO_1970 = ((146097L * 5L) - (30L * 365L + 7L)) * 86400L; field in FileTime
423 if (secs >= -SECONDS_0000_TO_1970) { in toString()
425 long zeroSecs = secs - SECONDS_PER_10000_YEARS + SECONDS_0000_TO_1970; in toString()
428 ldt = LocalDateTime.ofEpochSecond(lo - SECONDS_0000_TO_1970, nanos, ZoneOffset.UTC); in toString()
432 long zeroSecs = secs + SECONDS_0000_TO_1970; in toString()
435 ldt = LocalDateTime.ofEpochSecond(lo - SECONDS_0000_TO_1970, nanos, ZoneOffset.UTC); in toString()
/libcore/ojluni/src/main/java/java/time/format/
DDateTimeFormatterBuilder.java3185 … private static final long SECONDS_0000_TO_1970 = ((146097L * 5L) - (30L * 365L + 7L)) * 86400L; field in DateTimeFormatterBuilder.InstantPrinterParser
3206 if (inSec >= -SECONDS_0000_TO_1970) { in format()
3208 long zeroSecs = inSec - SECONDS_PER_10000_YEARS + SECONDS_0000_TO_1970; in format()
3211 … LocalDateTime ldt = LocalDateTime.ofEpochSecond(lo - SECONDS_0000_TO_1970, 0, ZoneOffset.UTC); in format()
3221 long zeroSecs = inSec + SECONDS_0000_TO_1970; in format()
3224 … LocalDateTime ldt = LocalDateTime.ofEpochSecond(lo - SECONDS_0000_TO_1970, 0, ZoneOffset.UTC); in format()