Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/time/
DOffsetDateTime.java167 private static int compareInstant(OffsetDateTime datetime1, OffsetDateTime datetime2) { in compareInstant() argument
168 if (datetime1.getOffset().equals(datetime2.getOffset())) { in compareInstant()
169 return datetime1.toLocalDateTime().compareTo(datetime2.toLocalDateTime()); in compareInstant()
171 int cmp = Long.compare(datetime1.toEpochSecond(), datetime2.toEpochSecond()); in compareInstant()
173 cmp = datetime1.toLocalTime().getNano() - datetime2.toLocalTime().getNano(); in compareInstant()
/libcore/ojluni/annotations/hiddenapi/java/time/
DOffsetDateTime.java84 java.time.OffsetDateTime datetime1, java.time.OffsetDateTime datetime2) { in compareInstant() argument