Home
last modified time | relevance | path

Searched refs:LocalTime (Results 1 – 25 of 71) sorted by relevance

123

/libcore/ojluni/src/test/java/time/test/java/time/
DTestLocalTime.java67 import java.time.LocalTime;
83 assertImmutable(LocalTime.class); in test_immutable()
87 private void check(LocalTime time, int h, int m, int s, int n) { in check()
97 check(LocalTime.MIDNIGHT, 0, 0, 0, 0); in constant_MIDNIGHT()
102 assertSame(LocalTime.MIDNIGHT, LocalTime.MIDNIGHT); in constant_MIDNIGHT_same()
103 assertSame(LocalTime.MIDNIGHT, LocalTime.of(0, 0)); in constant_MIDNIGHT_same()
108 check(LocalTime.NOON, 12, 0, 0, 0); in constant_MIDDAY()
113 assertSame(LocalTime.NOON, LocalTime.NOON); in constant_MIDDAY_same()
114 assertSame(LocalTime.NOON, LocalTime.of(12, 0)); in constant_MIDDAY_same()
120 check(LocalTime.MIN, 0, 0, 0, 0); in constant_MIN_TIME()
[all …]
DTestLocalDateTime.java68 import java.time.LocalTime;
158 LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.with(LocalTime.of(1, 0)).withHour(0); in test_withHour_toMidnight()
159 assertSame(t.toLocalTime(), LocalTime.MIDNIGHT); in test_withHour_toMidnight()
164 LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.with(LocalTime.of(1, 0)).withHour(12); in test_withHour_toMidday()
165 assertSame(t.toLocalTime(), LocalTime.NOON); in test_withHour_toMidday()
176 LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.with(LocalTime.of(0, 1)).withMinute(0); in test_withMinute_toMidnight()
177 assertSame(t.toLocalTime(), LocalTime.MIDNIGHT); in test_withMinute_toMidnight()
182 … LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.with(LocalTime.of(12, 1)).withMinute(0); in test_withMinute_toMidday()
183 assertSame(t.toLocalTime(), LocalTime.NOON); in test_withMinute_toMidday()
194 … LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.with(LocalTime.of(0, 0, 1)).withSecond(0); in test_withSecond_toMidnight()
[all …]
DTestOffsetDateTime.java66 import java.time.LocalTime;
86 …TEST_2008_6_30_11_30_59_000000500 = OffsetDateTime.of(LocalDate.of(2008, 6, 30), LocalTime.of(11, … in setUp()
110 LocalTime localTime = LocalTime.of(h, m, s, n); in test_get_same()
125 …OffsetDateTime base = OffsetDateTime.of(LocalDate.of(2008, 6, 30), LocalTime.of(11, 30, 59), OFFSE… in test_withOffsetSameLocal()
133 …OffsetDateTime base = OffsetDateTime.of(LocalDate.of(2008, 6, 30), LocalTime.of(11, 30, 59), OFFSE… in test_withOffsetSameLocal_noChange()
140 …OffsetDateTime base = OffsetDateTime.of(LocalDate.of(2008, 6, 30), LocalTime.of(11, 30, 59), OFFSE… in test_withOffsetSameInstant_noChange()
147 …OffsetDateTime base = OffsetDateTime.of(LocalDate.of(2008, 6, 30), LocalTime.of(11, 30, 59), OFFSE… in test_withYear_noChange()
154 …OffsetDateTime base = OffsetDateTime.of(LocalDate.of(2008, 6, 30), LocalTime.of(11, 30, 59), OFFSE… in test_withMonth_noChange()
161 …OffsetDateTime base = OffsetDateTime.of(LocalDate.of(2008, 6, 30), LocalTime.of(11, 30, 59), OFFSE… in test_withDayOfMonth_noChange()
174 …OffsetDateTime base = OffsetDateTime.of(LocalDate.of(2008, 6, 30), LocalTime.of(11, 30, 59), OFFSE… in test_withHour_noChange()
[all …]
DTestOffsetDateTime_instants.java67 import java.time.LocalTime;
112 …OffsetDateTime expected = OffsetDateTime.of(LocalDate.of(1970, 1, 1), LocalTime.of(0, 0, 0, 0), Zo… in factory_ofInstant_allDaysInCycle()
239 …OffsetDateTime expected = OffsetDateTime.of(LocalDate.of((int) minYear, 1, 1), LocalTime.of(0, 0, … in doTest_factory_ofInstant_all()
286 …OffsetDateTime dt = OffsetDateTime.of(LocalDate.of(1970, 1, 1), LocalTime.of(0, 0, 0, 0), ZoneOffs… in test_toInstant_19700101()
293 …OffsetDateTime dt = OffsetDateTime.of(LocalDate.of(1970, 1, 1), LocalTime.of(0, 0, 0, 1), ZoneOffs… in test_toInstant_19700101_oneNano()
300 …OffsetDateTime dt = OffsetDateTime.of(LocalDate.of(1969, 12, 31), LocalTime.of(23, 59, 59, 9999999… in test_toInstant_19700101_minusOneNano()
307 …OffsetDateTime dt = OffsetDateTime.of(LocalDate.of(1970, 1, 2), LocalTime.of(0, 0, 0, 0), ZoneOffs… in test_toInstant_19700102()
314 …OffsetDateTime dt = OffsetDateTime.of(LocalDate.of(1969, 12, 31), LocalTime.of(0, 0, 0, 0), ZoneOf… in test_toInstant_19691231()
322 …OffsetDateTime dt = OffsetDateTime.of(LocalDate.of(1970, 1, 1), LocalTime.of(0, 0, 0, 0), ZoneOffs… in test_toEpochSecond_19700101()
327 …OffsetDateTime dt = OffsetDateTime.of(LocalDate.of(1970, 1, 1), LocalTime.of( 0, 0, 0, 1), ZoneOff… in test_toEpochSecond_19700101_oneNano()
[all …]
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKLocalTime.java101 import java.time.LocalTime;
145 private static LocalTime TEST_12_30_40_987654321;
155 TEST_12_30_40_987654321 = LocalTime.of(12, 30, 40, 987654321); in setUp()
161 …alAccessor[] array = {TEST_12_30_40_987654321, LocalTime.MIN, LocalTime.MAX, LocalTime.MIDNIGHT, L… in samples()
199 private void check(LocalTime test, int h, int m, int s, int n) { in check()
206 assertEquals(LocalTime.of(h, m, s, n), test); in check()
214 check(LocalTime.MIDNIGHT, 0, 0, 0, 0); in constant_MIDNIGHT()
219 check(LocalTime.NOON, 12, 0, 0, 0); in constant_MIDDAY()
224 check(LocalTime.MIN, 0, 0, 0, 0); in constant_MIN()
229 check(LocalTime.MAX, 23, 59, 59, 999999999); in constant_MAX()
[all …]
DTCKOffsetDateTime.java117 import java.time.LocalTime;
293 LocalTime expected = LocalTime.MIDNIGHT.plusNanos(123456789L);
360 LocalTime time = LocalTime.of(11, 30, 10, 500);
367 LocalTime time = LocalTime.of(11, 30, 10, 500);
374 OffsetDateTime.of(date, (LocalTime) null, OFFSET_PONE);
380 LocalTime time = LocalTime.of(11, 30, 10, 500);
387 … LocalDateTime dt = LocalDateTime.of(LocalDate.of(2008, 6, 30), LocalTime.of(11, 30, 10, 500));
399 … LocalDateTime dt = LocalDateTime.of(LocalDate.of(2008, 6, 30), LocalTime.of(11, 30, 10, 500));
409 OffsetDateTime.of(LocalDate.of(2007, 7, 15), LocalTime.of(17, 30), OFFSET_PONE)),
410 OffsetDateTime.of(LocalDate.of(2007, 7, 15), LocalTime.of(17, 30), OFFSET_PONE));
[all …]
DTCKLocalDateTime.java118 import java.time.LocalTime;
340 LocalTime expected = LocalTime.MIDNIGHT.plusNanos(123456789L);
743 …LocalDateTime dateTime = LocalDateTime.of(LocalDate.of(2007, 7, 15), LocalTime.of(12, 30, 40, 9876…
749 LocalDateTime.of(null, LocalTime.of(12, 30, 40, 987654321));
857 LocalDateTime.from(LocalTime.of(12, 30));
1027 …{TEST_2007_07_15_12_30_40_987654321, TemporalQueries.localTime(), LocalTime.of(12, 30, 40, 9876543…
1105 … a = LocalDateTime.of(TEST_2007_07_15_12_30_40_987654321.toLocalDate(), LocalTime.of(h, m, s, ns));
1147 … {LocalDateTime.of(2012, 3, 4, 23, 5), LocalTime.of(22, 3, 0), null, DateTimeException.class},
1368 …12_30_40_987654321.truncatedTo(DAYS), TEST_2007_07_15_12_30_40_987654321.with(LocalTime.MIDNIGHT));
1761 LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.with(LocalTime.MIDNIGHT);
[all …]
DTCKOffsetTime.java101 import java.time.LocalTime;
278 assertEquals(test.toLocalTime(), LocalTime.of(h, m, s, n));
288 assertEquals(OffsetTime.of(LocalTime.of(h, m, s, n), offset), test);
301 LocalTime localTime = LocalTime.of(11, 30, 10, 500);
308 OffsetTime.of((LocalTime) null, OFFSET_PONE);
313 LocalTime localTime = LocalTime.of(11, 30, 10, 500);
470 …Constructor<OffsetTime> con = OffsetTime.class.getDeclaredConstructor(LocalTime.class, ZoneOffset.…
481 …Constructor<OffsetTime> con = OffsetTime.class.getDeclaredConstructor(LocalTime.class, ZoneOffset.…
484 con.newInstance(LocalTime.of(11, 30, 0, 0), null);
504 LocalTime localTime = LocalTime.of(h, m, s, n);
[all …]
/libcore/ojluni/src/main/java/java/time/
DLocalTime.java119 public final class LocalTime class
120 implements Temporal, TemporalAdjuster, Comparable<LocalTime>, Serializable {
126 public static final LocalTime MIN;
131 public static final LocalTime MAX;
135 public static final LocalTime MIDNIGHT;
139 public static final LocalTime NOON;
143 private static final LocalTime[] HOURS = new LocalTime[24];
146 HOURS[i] = new LocalTime(i, 0, 0, 0);
151 MAX = new LocalTime(23, 59, 59, 999_999_999);
237 public static LocalTime now() { in now()
[all …]
DLocalDateTime.java64 import static java.time.LocalTime.HOURS_PER_DAY;
65 import static java.time.LocalTime.MICROS_PER_DAY;
66 import static java.time.LocalTime.MILLIS_PER_DAY;
67 import static java.time.LocalTime.MINUTES_PER_DAY;
68 import static java.time.LocalTime.NANOS_PER_DAY;
69 import static java.time.LocalTime.NANOS_PER_HOUR;
70 import static java.time.LocalTime.NANOS_PER_MINUTE;
71 import static java.time.LocalTime.NANOS_PER_SECOND;
72 import static java.time.LocalTime.SECONDS_PER_DAY;
138 public static final LocalDateTime MIN = LocalDateTime.of(LocalDate.MIN, LocalTime.MIN);
[all …]
DOffsetTime.java64 import static java.time.LocalTime.NANOS_PER_HOUR;
65 import static java.time.LocalTime.NANOS_PER_MINUTE;
66 import static java.time.LocalTime.NANOS_PER_SECOND;
67 import static java.time.LocalTime.SECONDS_PER_DAY;
122 public static final OffsetTime MIN = LocalTime.MIN.atOffset(ZoneOffset.MAX);
130 public static final OffsetTime MAX = LocalTime.MAX.atOffset(ZoneOffset.MIN);
140 private final LocalTime time;
206 public static OffsetTime of(LocalTime time, ZoneOffset offset) { in of()
230 return new OffsetTime(LocalTime.of(hour, minute, second, nanoOfSecond), offset); in of()
256 LocalTime time = LocalTime.ofNanoOfDay(secsOfDay * NANOS_PER_SECOND + instant.getNano()); in ofInstant()
[all …]
DInstant.java64 import static java.time.LocalTime.NANOS_PER_SECOND;
65 import static java.time.LocalTime.SECONDS_PER_DAY;
66 import static java.time.LocalTime.SECONDS_PER_HOUR;
67 import static java.time.LocalTime.SECONDS_PER_MINUTE;
747 if (unitDur.getSeconds() > LocalTime.SECONDS_PER_DAY) { in truncatedTo()
751 if ((LocalTime.NANOS_PER_DAY % dur) != 0) { in truncatedTo()
754 long nod = (seconds % LocalTime.SECONDS_PER_DAY) * LocalTime.NANOS_PER_SECOND + nanos; in truncatedTo()
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/
DTCKChronoUnit.java80 import java.time.LocalTime;
142 {HALF_DAYS, LocalTime.of(1, 2, 3, 400), true, 1, LocalTime.of(13, 2, 3, 400)}, in data_unitAndTemporal()
143 {HOURS, LocalTime.of(1, 2, 3, 400), true, 1, LocalTime.of(2, 2, 3, 400)}, in data_unitAndTemporal()
144 {MINUTES, LocalTime.of(1, 2, 3, 400), true, 1, LocalTime.of(1, 3, 3, 400)}, in data_unitAndTemporal()
145 {SECONDS, LocalTime.of(1, 2, 3, 400), true, 1, LocalTime.of(1, 2, 4, 400)}, in data_unitAndTemporal()
146 {MICROS, LocalTime.of(1, 2, 3, 400), true, 1, LocalTime.of(1, 2, 3, 1000 + 400)}, in data_unitAndTemporal()
147 … {MILLIS, LocalTime.of(1, 2, 3, 400), true, 1, LocalTime.of(1, 2, 3, 1000*1000 + 400)}, in data_unitAndTemporal()
148 {NANOS, LocalTime.of(1, 2, 3, 400), true, 1, LocalTime.of(1, 2, 3, 1 + 400)}, in data_unitAndTemporal()
150 {CENTURIES, LocalTime.of(1, 2, 3, 400), false, 1, null}, in data_unitAndTemporal()
151 {DECADES, LocalTime.of(1, 2, 3, 400), false, 1, null}, in data_unitAndTemporal()
[all …]
DTCKChronoField.java104 import java.time.LocalTime;
210 {HOUR_OF_DAY, LocalTime.of(5, 4, 3, 200), true, 5}, in data_fieldAndAccessor()
213 {MINUTE_OF_DAY, LocalTime.of(5, 4, 3, 200), true, 5*60 + 4}, in data_fieldAndAccessor()
215 {MINUTE_OF_HOUR, LocalTime.of(5, 4, 3, 200), true, 4}, in data_fieldAndAccessor()
218 {SECOND_OF_DAY, LocalTime.of(5, 4, 3, 200), true, 5*3600 + 4*60 + 3}, in data_fieldAndAccessor()
220 {SECOND_OF_MINUTE, LocalTime.of(5, 4, 3, 200), true, 3}, in data_fieldAndAccessor()
223 {NANO_OF_SECOND, LocalTime.of(5, 4, 3, 200), true, 200}, in data_fieldAndAccessor()
226 {YEAR, LocalTime.of(5, 4, 3, 200), false, -1}, in data_fieldAndAccessor()
227 {MONTH_OF_YEAR, LocalTime.of(5, 4, 3, 200), false, -1}, in data_fieldAndAccessor()
228 {DAY_OF_MONTH, LocalTime.of(5, 4, 3, 200), false, -1}, in data_fieldAndAccessor()
[all …]
/libcore/ojluni/src/test/java/time/tck/java/time/serial/
DTCKLocalTimeSerialization.java68 import java.time.LocalTime;
77 private LocalTime TEST_12_30_40_987654321;
82 TEST_12_30_40_987654321 = LocalTime.of(12, 30, 40, 987654321); in setUp()
90 assertSerializable(LocalTime.MIN); in test_serialization()
91 assertSerializable(LocalTime.MAX); in test_serialization()
102 assertSerializedBySer(LocalTime.of(22, 0), bytes); in test_serialization_format_h()
114 assertSerializedBySer(LocalTime.of(22, 17), bytes); in test_serialization_format_hm()
127 assertSerializedBySer(LocalTime.of(22, 17, 59), bytes); in test_serialization_format_hms()
141 assertSerializedBySer(LocalTime.of(22, 17, 59, 459_000_000), bytes); in test_serialization_format_hmsn()
146 assertNotSerializable(LocalTime.class); in test_invalid_serialform()
/libcore/ojluni/src/test/java/time/tck/java/time/format/
DTCKDateTimeParseResolver.java100 import java.time.LocalTime;
296 {HOUR_OF_DAY, 8, LocalTime.of(8, 0)}, in data_resolveOneToTime()
297 {CLOCK_HOUR_OF_DAY, 8, LocalTime.of(8, 0)}, in data_resolveOneToTime()
298 {CLOCK_HOUR_OF_DAY, 24, LocalTime.of(0, 0)}, in data_resolveOneToTime()
299 {MINUTE_OF_DAY, 650, LocalTime.of(10, 50)}, in data_resolveOneToTime()
300 {SECOND_OF_DAY, 3600 + 650, LocalTime.of(1, 10, 50)}, in data_resolveOneToTime()
301 {MILLI_OF_DAY, (3600 + 650) * 1_000L + 2, LocalTime.of(1, 10, 50, 2_000_000)}, in data_resolveOneToTime()
302 {MICRO_OF_DAY, (3600 + 650) * 1_000_000L + 2, LocalTime.of(1, 10, 50, 2_000)}, in data_resolveOneToTime()
303 {NANO_OF_DAY, (3600 + 650) * 1_000_000_000L + 2, LocalTime.of(1, 10, 50, 2)}, in data_resolveOneToTime()
308 public void test_resolveOneToTime(TemporalField field1, long value1, LocalTime expectedTime) { in test_resolveOneToTime()
[all …]
DTCKLocalizedPrinterParser.java67 import java.time.LocalTime;
172 {LocalTime.of(11, 30), FormatStyle.SHORT, DateFormat.SHORT, Locale.UK}, in data_time()
173 {LocalTime.of(11, 30), FormatStyle.SHORT, DateFormat.SHORT, Locale.US}, in data_time()
174 {LocalTime.of(11, 30), FormatStyle.SHORT, DateFormat.SHORT, Locale.FRANCE}, in data_time()
175 {LocalTime.of(11, 30), FormatStyle.SHORT, DateFormat.SHORT, Locale.JAPAN}, in data_time()
177 {LocalTime.of(11, 30), FormatStyle.MEDIUM, DateFormat.MEDIUM, Locale.UK}, in data_time()
178 {LocalTime.of(11, 30), FormatStyle.MEDIUM, DateFormat.MEDIUM, Locale.US}, in data_time()
179 {LocalTime.of(11, 30), FormatStyle.MEDIUM, DateFormat.MEDIUM, Locale.FRANCE}, in data_time()
180 {LocalTime.of(11, 30), FormatStyle.MEDIUM, DateFormat.MEDIUM, Locale.JAPAN}, in data_time()
197 …public void test_time_print(LocalTime time, FormatStyle timeStyle, int timeStyleOld, Locale locale… in test_time_print()
[all …]
/libcore/ojluni/src/test/java/time/tck/java/time/zone/serial/
DTCKZoneOffsetTransitionRuleSerialization.java63 import java.time.LocalTime;
78 private static final LocalTime TIME_0100 = LocalTime.of(1, 0);
99 Month.MARCH, 20, DayOfWeek.FRIDAY, LocalTime.MIDNIGHT, true, TimeDefinition.UTC, in test_serialization_endOfDay()
107 … Month.MARCH, 20, DayOfWeek.WEDNESDAY, LocalTime.of(13, 34, 56), false, TimeDefinition.STANDARD, in test_serialization_unusualTime()
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/
DTCKChronoLocalDateTime.java70 import java.time.LocalTime;
116 ChronoLocalDateTime<?> cdt = chrono.date(refDate).atTime(LocalTime.NOON); in test_badWithAdjusterChrono()
119 ChronoLocalDateTime<?> cdt2 = chrono2.date(refDate).atTime(LocalTime.NOON); in test_badWithAdjusterChrono()
140 ChronoLocalDateTime<?> cdt = chrono.date(refDate).atTime(LocalTime.NOON); in test_badPlusAdjusterChrono()
143 ChronoLocalDateTime<?> cdt2 = chrono2.date(refDate).atTime(LocalTime.NOON); in test_badPlusAdjusterChrono()
164 ChronoLocalDateTime<?> cdt = chrono.date(refDate).atTime(LocalTime.NOON); in test_badMinusAdjusterChrono()
167 ChronoLocalDateTime<?> cdt2 = chrono2.date(refDate).atTime(LocalTime.NOON); in test_badMinusAdjusterChrono()
188 ChronoLocalDateTime<?> cdt = chrono.date(refDate).atTime(LocalTime.NOON); in test_badPlusTemporalUnitChrono()
191 ChronoLocalDateTime<?> cdt2 = chrono2.date(refDate).atTime(LocalTime.NOON); in test_badPlusTemporalUnitChrono()
212 ChronoLocalDateTime<?> cdt = chrono.date(refDate).atTime(LocalTime.NOON); in test_badMinusTemporalUnitChrono()
[all …]
DTCKChronoZonedDateTime.java69 import java.time.LocalTime;
118 … ChronoZonedDateTime<?> czdt = chrono.date(refDate).atTime(LocalTime.NOON).atZone(ZoneOffset.UTC); in test_badWithAdjusterChrono()
121 …ChronoZonedDateTime<?> czdt2 = chrono2.date(refDate).atTime(LocalTime.NOON).atZone(ZoneOffset.UTC); in test_badWithAdjusterChrono()
141 … ChronoZonedDateTime<?> czdt = chrono.date(refDate).atTime(LocalTime.NOON).atZone(ZoneOffset.UTC); in test_badPlusAdjusterChrono()
144 …ChronoZonedDateTime<?> czdt2 = chrono2.date(refDate).atTime(LocalTime.NOON).atZone(ZoneOffset.UTC); in test_badPlusAdjusterChrono()
165 … ChronoZonedDateTime<?> czdt = chrono.date(refDate).atTime(LocalTime.NOON).atZone(ZoneOffset.UTC); in test_badMinusAdjusterChrono()
168 …ChronoZonedDateTime<?> czdt2 = chrono2.date(refDate).atTime(LocalTime.NOON).atZone(ZoneOffset.UTC); in test_badMinusAdjusterChrono()
189 … ChronoZonedDateTime<?> czdt = chrono.date(refDate).atTime(LocalTime.NOON).atZone(ZoneOffset.UTC); in test_badPlusTemporalUnitChrono()
192 …ChronoZonedDateTime<?> czdt2 = chrono2.date(refDate).atTime(LocalTime.NOON).atZone(ZoneOffset.UTC); in test_badPlusTemporalUnitChrono()
213 … ChronoZonedDateTime<?> czdt = chrono.date(refDate).atTime(LocalTime.NOON).atZone(ZoneOffset.UTC); in test_badMinusTemporalUnitChrono()
[all …]
/libcore/ojluni/src/main/java/java/time/chrono/
DChronoLocalDateTimeImpl.java72 import java.time.LocalTime;
163 private final transient LocalTime time;
173 static <R extends ChronoLocalDate> ChronoLocalDateTimeImpl<R> of(R date, LocalTime time) { in of()
202 private ChronoLocalDateTimeImpl(D date, LocalTime time) { in ChronoLocalDateTimeImpl()
217 private ChronoLocalDateTimeImpl<D> with(Temporal newDate, LocalTime newTime) { in with()
233 public LocalTime toLocalTime() { in toLocalTime()
281 } else if (adjuster instanceof LocalTime) { in with()
282 return with(date, (LocalTime) adjuster); in with()
359 LocalTime newTime = (newNoD == curNoD ? time : LocalTime.ofNanoOfDay(newNoD)); in plusWithOverflow()
433 LocalTime time = (LocalTime) in.readObject(); in readExternal()
/libcore/ojluni/src/main/java/java/time/temporal/
DTemporalQueries.java69 import java.time.LocalTime;
336 public static TemporalQuery<LocalTime> localTime() { in localTime()
391 static final TemporalQuery<LocalTime> LOCAL_TIME = (temporal) -> {
393 return LocalTime.ofNanoOfDay(temporal.getLong(NANO_OF_DAY));
DTemporalUnit.java66 import java.time.LocalTime;
169 if (temporal instanceof LocalTime) { in isSupportedBy()
/libcore/ojluni/src/main/java/java/time/zone/
DZoneOffsetTransitionRule.java76 import java.time.LocalTime;
128 private final LocalTime time;
175 LocalTime time, in of()
190 if (timeEndOfDay && time.equals(LocalTime.MIDNIGHT) == false) { in of()
217 LocalTime time, in ZoneOffsetTransitionRule()
351LocalTime time = (timeByte == 31 ? LocalTime.ofSecondOfDay(in.readInt()) : LocalTime.of(timeByte %… in readExternal()
419 public LocalTime getLocalTime() { in getLocalTime()
/libcore/ojluni/src/test/java/time/test/java/time/chrono/
DTestJapaneseChronoImpl.java62 import java.time.LocalTime;
108 OffsetDateTime jodt = OffsetDateTime.of(isoStartDate, LocalTime.MIN, ZoneOffset.UTC); in test_JapaneseChrono_vsCalendar()
135 … OffsetDateTime jodt = OffsetDateTime.of(LocalDate.from(jd), LocalTime.MIN, ZoneOffset.UTC); in test_dayOfYearVsCalendar()

123