Searched refs:datetime1 (Results 1 – 2 of 2) sorted by relevance
167 private static int compareInstant(OffsetDateTime datetime1, OffsetDateTime datetime2) { in compareInstant() argument168 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()
84 java.time.OffsetDateTime datetime1, java.time.OffsetDateTime datetime2) { in compareInstant() argument