Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/net/sntp/
DTimestamp64.java47 static final long MAX_SECONDS_IN_ERA = 0xFFFF_FFFFL; field in Timestamp64
48 static final long SECONDS_IN_ERA = MAX_SECONDS_IN_ERA + 1;
98 if (eraSeconds < 0 || eraSeconds > MAX_SECONDS_IN_ERA) { in Timestamp64()
/frameworks/base/core/tests/coretests/src/android/net/sntp/
DTimestamp64Test.java126 -Timestamp64.OFFSET_1900_TO_1970 - 1, Timestamp64.MAX_SECONDS_IN_ERA, -1); in testFromInstant_secondsHandling()
129 Timestamp64.MAX_SECONDS_IN_ERA, eraNeg2); in testFromInstant_secondsHandling()
132 Timestamp64.MAX_SECONDS_IN_ERA, era0); in testFromInstant_secondsHandling()
DDuration64Test.java42 long maxDuration64Seconds = Timestamp64.MAX_SECONDS_IN_ERA / 2; in testBetween_rangeChecks()