Home
last modified time | relevance | path

Searched refs:toLocalDateTime (Results 1 – 18 of 18) sorted by relevance

/libcore/ojluni/src/main/java/java/time/chrono/
DChronoZonedDateTime.java184 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()
DChronoZonedDateTimeImpl.java256 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/
DZonedDateTimeTest.java108 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/
DOffsetDateTime.java169 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()
DZonedDateTime.java913 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()
DLocalDateTime.java445 return ((ZonedDateTime) temporal).toLocalDateTime(); in from()
447 return ((OffsetDateTime) temporal).toLocalDateTime(); in from()
/libcore/ojluni/src/test/java/time/test/java/time/
DTestOffsetDateTime.java117 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/
DChronoZonedDateTimeTest.java65 public ChronoLocalDateTime toLocalDateTime() { in toLocalDateTime() method in ChronoZonedDateTimeTest.TestChronoZonedDateTime
/libcore/ojluni/src/test/java/time/test/java/util/
DTestFormatter.java186 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/
DTCKZonedDateTime.java678 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 …]
DTCKOffsetDateTime.java677 …, 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/
DTestExampleCode.java174 ChronoLocalDateTime<HijrahDate> hdt2 = zhdt.toLocalDateTime(); in HijrahExample1()
/libcore/ojluni/src/test/java/time/test/java/time/format/
DTestDateTimeParsing.java145 assertEquals(LocalDateTime.from(actual), expected.toLocalDateTime()); in test_parse_instantZones_LDT()
/libcore/ojluni/src/test/java/time/tck/java/time/zone/
DTCKZoneRules.java126 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/
DOffsetDateTime.java177 public java.time.LocalDateTime toLocalDateTime() { in toLocalDateTime() method in OffsetDateTime
/libcore/ojluni/src/main/java/java/time/format/
DParsed.java277 resolvedObject = czdt.toLocalDateTime(); in resolveFields()
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/
DTCKMinguoChronology.java219 ChronoLocalDateTime<MinguoDate> a2 = hzdt.toLocalDateTime(); in test_MinguoDate()
/libcore/api/
Dcurrent.txt10999 method public java.time.LocalDateTime toLocalDateTime();
11268 method public java.time.LocalDateTime toLocalDateTime();
11393 method public java.time.chrono.ChronoLocalDateTime<D> toLocalDateTime();