Searched refs:MAX_SECOND (Results 1 – 3 of 3) sorted by relevance
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKInstant.java | 120 private static final long MAX_SECOND = Instant.MAX.getEpochSecond(); field in TCKInstant 270 Instant.ofEpochSecond(MAX_SECOND, 1000000000); 902 {MAX_SECOND - 1, 0, 1, 0, MAX_SECOND, 0}, 903 {MAX_SECOND - 1, 0, 0, 500, MAX_SECOND - 1, 500}, 904 {MAX_SECOND - 1, 0, 0, 1000000000, MAX_SECOND, 0}, 906 {MAX_SECOND, 0, -1, 0, MAX_SECOND - 1, 0}, 907 {MAX_SECOND, 0, 0, -500, MAX_SECOND - 1, 999999500}, 908 {MAX_SECOND, 0, 0, -1000000000, MAX_SECOND - 1, 0}, 910 {MAX_SECOND, 0, -MAX_SECOND, 0, 0, 0}, 923 Instant i = Instant.ofEpochSecond(MAX_SECOND, 999999999); [all …]
|
/libcore/ojluni/src/main/java/java/nio/file/attribute/ |
D | FileTime.java | 203 private static final long MAX_SECOND = 31556889864403199L; field in FileTime 268 else if (secs >= MAX_SECOND) in toInstant() 353 if (secs != MAX_SECOND && secs != MIN_SECOND) { in compareTo()
|
/libcore/ojluni/src/main/java/java/time/ |
D | Instant.java | 215 private static final long MAX_SECOND = 31556889864403199L; field in Instant 237 public static final Instant MAX = Instant.ofEpochSecond(MAX_SECOND, 999_999_999); 404 if (seconds < MIN_SECOND || seconds > MAX_SECOND) { in create()
|