Home
last modified time | relevance | path

Searched refs:toOffsetDateTime (Results 1 – 4 of 4) sorted by relevance

/libcore/ojluni/src/test/java/time/test/java/util/
DTestFormatter.java189 test(fmtStr, locale, expected, ((ZonedDateTime)zdt).toOffsetDateTime()); in testDate()
201 OffsetDateTime odt = ((ZonedDateTime)zdt).toOffsetDateTime(); in testTime()
231 OffsetDateTime odt = ((ZonedDateTime)zdt).toOffsetDateTime(); in testZoneId()
251 OffsetDateTime odt = ((ZonedDateTime)zdt).toOffsetDateTime(); in testInstant()
/libcore/ojluni/src/main/java/java/time/
DZonedDateTime.java2119 return toOffsetDateTime().until(end.toOffsetDateTime(), unit); in until()
2149 public OffsetDateTime toOffsetDateTime() { in toOffsetDateTime() method in ZonedDateTime
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKZonedDateTime.java1216 assertEquals(test.toOffsetDateTime(), odt);
1235 assertEquals(test.toOffsetDateTime(), odt);
1244 assertEquals(test.toOffsetDateTime(), odt);
1364 OffsetDateTime odt = base.toOffsetDateTime().with(setField, setValue);
2101 …assertEquals(TEST_DATE_TIME.toOffsetDateTime(), OffsetDateTime.of(TEST_DATE_TIME.toLocalDateTime()…
DTCKZoneOffset.java597 OffsetDateTime offsetDateTime_target = zonedDateTime_target.toOffsetDateTime();