/libcore/ojluni/src/main/java/sun/util/calendar/ |
D | Era.java | 69 private final boolean localTime; field in Era 82 public Era(String name, String abbr, long since, boolean localTime) { in Era() argument 86 this.localTime = localTime; in Era() 110 if (zone == null || !localTime) { in getSince() 122 return localTime; in isLocalTime() 133 && localTime == that.localTime; in equals() 141 ^ (localTime ? 1 : 0); in hashCode() 152 if (localTime) { in toString()
|
D | LocalGregorianCalendar.java | 138 boolean localTime = true; in getLocalGregorianCalendar() 155 localTime = false; in getLocalGregorianCalendar() 166 Era era = new Era(eraName, abbr, since, localTime); in getLocalGregorianCalendar()
|
/libcore/ojluni/annotations/hiddenapi/sun/util/calendar/ |
D | Era.java | 32 public Era(java.lang.String name, java.lang.String abbr, long since, boolean localTime) { in Era() argument 87 private final boolean localTime; field in Era 90 localTime = false;
|
/libcore/ojluni/src/test/java/time/tck/java/time/format/ |
D | TCKDateTimeParseResolver.java | 158 assertEquals(accessor.query(TemporalQueries.localTime()), null); in test_resolveOneNoChange() 197 assertEquals(accessor.query(TemporalQueries.localTime()), null); in test_resolveTwoNoChange() 229 assertEquals(accessor.query(TemporalQueries.localTime()), null); in test_resolveThreeNoChange() 263 assertEquals(accessor.query(TemporalQueries.localTime()), null); in test_resolveOneToField() 289 assertEquals(accessor.query(TemporalQueries.localTime()), null); in test_resolveOneToDate() 314 assertEquals(accessor.query(TemporalQueries.localTime()), expectedTime); in test_resolveOneToTime() 345 assertEquals(accessor.query(TemporalQueries.localTime()), null); in test_resolveTwoToField() 393 assertEquals(accessor.query(TemporalQueries.localTime()), null); in test_resolveTwoToDate() 480 assertEquals(accessor.query(TemporalQueries.localTime()), expectedTime); in test_resolveTwoToTime() 513 assertEquals(accessor.query(TemporalQueries.localTime()), null); in test_resolveThreeToDate() [all …]
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | ChronoLocalDate.java | 510 } else if (query == TemporalQueries.localTime()) { in query() 653 default ChronoLocalDateTime<?> atTime(LocalTime localTime) { in atTime() argument 654 return ChronoLocalDateTimeImpl.of(this, localTime); in atTime()
|
D | ThaiBuddhistDate.java | 421 public final ChronoLocalDateTime<ThaiBuddhistDate> atTime(LocalTime localTime) { in atTime() argument 422 return (ChronoLocalDateTime<ThaiBuddhistDate>) super.atTime(localTime); in atTime()
|
D | MinguoDate.java | 421 public final ChronoLocalDateTime<MinguoDate> atTime(LocalTime localTime) { in atTime() argument 422 return (ChronoLocalDateTime<MinguoDate>)super.atTime(localTime); in atTime()
|
D | HijrahDate.java | 582 public final ChronoLocalDateTime<HijrahDate> atTime(LocalTime localTime) { in atTime() argument 583 return (ChronoLocalDateTime<HijrahDate>)super.atTime(localTime); in atTime()
|
D | JapaneseDate.java | 666 public final ChronoLocalDateTime<JapaneseDate> atTime(LocalTime localTime) { in atTime() argument 667 return (ChronoLocalDateTime<JapaneseDate>)super.atTime(localTime); in atTime()
|
D | ChronoLocalDateTime.java | 339 } else if (query == TemporalQueries.localTime()) { in query()
|
D | ChronoZonedDateTime.java | 488 } else if (query == TemporalQueries.localTime()) { in query()
|
/libcore/ojluni/src/test/java/time/test/java/time/ |
D | TestOffsetDateTime.java | 110 LocalTime localTime = LocalTime.of(h, m, s, n); in test_get_same() local 111 LocalDateTime localDateTime = LocalDateTime.of(localDate, localTime); in test_get_same() 116 assertSame(a.toLocalTime(), localTime); in test_get_same() local
|
D | TestLocalDateTime.java | 537 for (LocalTime localTime : localTimes) { in test_comparisons_LocalDateTime() 538 localDateTimes[i++] = LocalDateTime.of(localDate, localTime); in test_comparisons_LocalDateTime()
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKOffsetTime.java | 301 LocalTime localTime = LocalTime.of(11, 30, 10, 500); 302 OffsetTime test = OffsetTime.of(localTime, OFFSET_PONE); 313 LocalTime localTime = LocalTime.of(11, 30, 10, 500); 314 OffsetTime.of(localTime, (ZoneOffset) null); 504 LocalTime localTime = LocalTime.of(h, m, s, n); 505 OffsetTime a = OffsetTime.of(localTime, offset); 507 assertEquals(a.toLocalTime(), localTime); 509 assertEquals(a.toString(), localTime.toString() + offset.toString()); 510 assertEquals(a.getHour(), localTime.getHour()); 511 assertEquals(a.getMinute(), localTime.getMinute()); [all …]
|
D | TCKDayOfWeek.java | 225 {DayOfWeek.FRIDAY, TemporalQueries.localTime(), null}, in data_query()
|
D | TCKZonedDateTime.java | 833 LocalTime localTime = LocalTime.of(h, m, s, n); 834 LocalDateTime localDateTime = LocalDateTime.of(localDate, localTime); 844 assertEquals(a.getHour(), localTime.getHour()); 845 assertEquals(a.getMinute(), localTime.getMinute()); 846 assertEquals(a.getSecond(), localTime.getSecond()); 847 assertEquals(a.getNano(), localTime.getNano()); 850 assertEquals(a.toLocalTime(), localTime);
|
D | TCKLocalTime.java | 430 LocalTime localTime = LocalTime.ofSecondOfDay(2 * 60 * 60 + 17 * 60 + 23); in factory_ofSecondOfDay() local 431 check(localTime, 2, 17, 23, 0); in factory_ofSecondOfDay() 449 LocalTime localTime = LocalTime.ofNanoOfDay(60 * 60 * 1000000000L + 17); in factory_ofNanoOfDay() local 450 check(localTime, 1, 0, 0, 17); in factory_ofNanoOfDay() 667 {TEST_12_30_40_987654321, TemporalQueries.localTime(), TEST_12_30_40_987654321}, in data_query()
|
D | TCKOffsetDateTime.java | 514 LocalTime localTime = LocalTime.of(h, m, s, n); 515 LocalDateTime localDateTime = LocalDateTime.of(localDate, localTime); 529 assertEquals(a.toOffsetTime(), OffsetTime.of(localTime, offset)); 649 … {TEST_2008_6_30_11_30_59_000000500, TemporalQueries.localTime(), LocalTime.of(11, 30, 59, 500)},
|
D | TCKMonth.java | 217 {Month.JUNE, TemporalQueries.localTime(), null}, in data_query()
|
/libcore/ojluni/src/main/java/java/time/temporal/ |
D | TemporalQueries.java | 336 public static TemporalQuery<LocalTime> localTime() { in localTime() method in TemporalQueries
|
/libcore/ojluni/src/main/java/java/time/ |
D | OffsetDateTime.java | 355 LocalTime time = temporal.query(TemporalQueries.localTime()); in from() 1545 } else if (query == TemporalQueries.localTime()) { in query()
|
D | LocalTime.java | 400 LocalTime time = temporal.query(TemporalQueries.localTime()); in from() 1289 } else if (query == TemporalQueries.localTime()) { in query()
|
D | OffsetTime.java | 1077 } else if (query == TemporalQueries.localTime()) { in query()
|
D | Instant.java | 1056 query == TemporalQueries.localDate() || query == TemporalQueries.localTime()) { in query()
|
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/ |
D | TCKIsoChronology.java | 213 if (query == TemporalQueries.localTime()) { in test_localDateTime_TemporalAccessor() 262 if (query == TemporalQueries.localTime()) { in test_zonedDateTime_TemporalAccessor()
|