/libcore/ojluni/src/main/java/java/time/chrono/ |
D | ChronoZonedDateTime.java | 184 return toLocalDateTime().range(field); in range() 198 return toLocalDateTime().get(field); in get() 210 return toLocalDateTime().getLong(field); in getLong() 224 return toLocalDateTime().toLocalDate(); in toLocalDate() 236 return toLocalDateTime().toLocalTime(); in toLocalTime() 247 ChronoLocalDateTime<D> toLocalDateTime(); in toLocalDateTime() method 574 cmp = toLocalDateTime().compareTo(other.toLocalDateTime()); in compareTo()
|
D | ChronoZonedDateTimeImpl.java | 256 public ChronoLocalDateTime<D> toLocalDateTime() { in toLocalDateTime() method in ChronoZonedDateTimeImpl 316 return dateTime.until(end.toLocalDateTime(), unit); in until() 378 …return toLocalDateTime().hashCode() ^ getOffset().hashCode() ^ Integer.rotateLeft(getZone().hashCo… in hashCode() 383 String str = toLocalDateTime().toString() + getOffset().toString(); in toString()
|
/libcore/luni/src/test/java/libcore/java/time/ |
D | ZonedDateTimeTest.java | 108 assertEquals("localDateTime" + message, expectedDateTime, zonedDateTime.toLocalDateTime()); in checkOfInstant() 113 expectedDateTime, zonedDateTime.toLocalDateTime()); in checkOfInstant() 177 assertEquals("localDateTime" + message, expectedDateTime, zonedDateTime.toLocalDateTime()); in checkOfLocal()
|
/libcore/ojluni/src/main/java/java/time/ |
D | OffsetDateTime.java | 169 return datetime1.toLocalDateTime().compareTo(datetime2.toLocalDateTime()); in compareInstant() 708 public LocalDateTime toLocalDateTime() { in toLocalDateTime() method in OffsetDateTime 1799 cmp = toLocalDateTime().compareTo(other.toLocalDateTime()); in compareTo()
|
D | ZonedDateTime.java | 913 ZoneOffsetTransition trans = getZone().getRules().getTransition(toLocalDateTime()); in withLaterOffsetAtOverlap() 1020 public LocalDateTime toLocalDateTime() { in toLocalDateTime() method in ZonedDateTime 1232 return ofLocal(odt.toLocalDateTime(), zone, odt.getOffset()); in with()
|
D | LocalDateTime.java | 445 return ((ZonedDateTime) temporal).toLocalDateTime(); in from() 447 return ((OffsetDateTime) temporal).toLocalDateTime(); in from()
|
/libcore/ojluni/src/test/java/time/test/java/time/ |
D | TestOffsetDateTime.java | 117 assertSame(a.toLocalDateTime(), localDateTime); in test_get_same() 127 assertSame(test.toLocalDateTime(), base.toLocalDateTime()); in test_withOffsetSameLocal()
|
/libcore/luni/src/test/java/libcore/java/time/chrono/ |
D | ChronoZonedDateTimeTest.java | 65 public ChronoLocalDateTime toLocalDateTime() { in toLocalDateTime() method in ChronoZonedDateTimeTest.TestChronoZonedDateTime
|
/libcore/ojluni/src/test/java/time/test/java/util/ |
D | TestFormatter.java | 186 test(fmtStr, locale, expected, zdt.toLocalDateTime()); in testDate() 198 test(fmtStr, locale, expected, zdt.toLocalDateTime()); in testTime()
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKZonedDateTime.java | 678 return TEST_DATE_TIME_PARIS.toLocalDateTime().isSupported(field); 683 return TEST_DATE_TIME_PARIS.toLocalDateTime().getLong(field); 851 assertEquals(a.toLocalDateTime(), localDateTime); 1016 assertEquals(test.toLocalDateTime(), base.toLocalDateTime()); // date-time not changed 1041 assertEquals(test.toLocalDateTime(), base.toLocalDateTime()); // date-time not changed 1059 assertEquals(test.toLocalDateTime(), base.toLocalDateTime()); 1225 assertEquals(test.toLocalDateTime(), TEST_LOCAL_2008_06_30_11_30_59_500); 1253 assertEquals(test.toLocalDateTime(), dateTime(2008, 10, 26, 15, 50, 30, 40)); 1263 assertEquals(test.toLocalDateTime(), dateTime(2008, 10, 26, 0, 50, 30, 40)); 1273 assertEquals(test.toLocalDateTime(), dateTime(2008, 10, 26, 15, 50, 30, 40)); [all …]
|
D | TCKOffsetDateTime.java | 677 …, 4, 23, 5, 0, 0, OFFSET_PONE), OffsetDateTime.of(OffsetDateTime.MAX.toLocalDateTime(), ZoneOffset… 678 …, 4, 23, 5, 0, 0, OFFSET_PONE), OffsetDateTime.of(OffsetDateTime.MIN.toLocalDateTime(), ZoneOffset… 1262 assertEquals(t.atZoneSimilarLocal(ZONE_PARIS).toLocalDateTime(), t.toLocalDateTime()); 1270 assertEquals(t.atZoneSimilarLocal(ZONE_PARIS).toLocalDateTime(), t.toLocalDateTime());
|
/libcore/ojluni/src/test/java/time/test/java/time/chrono/ |
D | TestExampleCode.java | 174 ChronoLocalDateTime<HijrahDate> hdt2 = zhdt.toLocalDateTime(); in HijrahExample1()
|
/libcore/ojluni/src/test/java/time/test/java/time/format/ |
D | TestDateTimeParsing.java | 145 assertEquals(LocalDateTime.from(actual), expected.toLocalDateTime()); in test_parse_instantZones_LDT()
|
/libcore/ojluni/src/test/java/time/tck/java/time/zone/ |
D | TCKZoneRules.java | 126 checkOffset(test, old.toLocalDateTime(), offset, 1); in test_London_preTimeZones() 508 checkOffset(test, old.toLocalDateTime(), offset, 1); in test_Paris_preTimeZones() 691 checkOffset(test, old.toLocalDateTime(), offset, 1); in test_NewYork_preTimeZones() 942 assertEquals(zdt.plusHours(2).toLocalDateTime(), LocalDateTime.of(2011, 12, 31, 1, 0)); in test_Apia_jumpOverInternationalDateLine_M10_to_P14() 962 assertEquals(zdt.plusHours(2).toLocalDateTime(), LocalDateTime.of(1892, 7, 4, 1, 0, 0)); in test_Apia_jumpForwardOverInternationalDateLine_P12_to_M12()
|
/libcore/ojluni/annotations/hiddenapi/java/time/ |
D | OffsetDateTime.java | 177 public java.time.LocalDateTime toLocalDateTime() { in toLocalDateTime() method in OffsetDateTime
|
/libcore/ojluni/src/main/java/java/time/format/ |
D | Parsed.java | 277 resolvedObject = czdt.toLocalDateTime(); in resolveFields()
|
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/ |
D | TCKMinguoChronology.java | 219 ChronoLocalDateTime<MinguoDate> a2 = hzdt.toLocalDateTime(); in test_MinguoDate()
|
/libcore/api/ |
D | current.txt | 10999 method public java.time.LocalDateTime toLocalDateTime(); 11268 method public java.time.LocalDateTime toLocalDateTime(); 11393 method public java.time.chrono.ChronoLocalDateTime<D> toLocalDateTime();
|