/libcore/ojluni/src/test/java/time/test/java/time/format/ |
TestFractionPrinterParser.java | 69 import java.time.LocalTime; 98 getFormatter(NANO_OF_SECOND, 0, 9, true).formatTo(LocalTime.of(12, 30, 40, 3), buf);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
NightDisplayServiceTest.java | 33 import com.android.internal.app.NightDisplayController.LocalTime; [all...] |
/libcore/ojluni/src/test/java/time/tck/java/time/ |
TCKZoneOffset.java | 75 import java.time.LocalTime; 446 LocalTime.of(17, 30)), ZoneOffset.ofHours(2))), ZoneOffset.ofHours(2)); 451 ZoneOffset.from(LocalTime.of(12, 30)); 533 {ZoneOffset.UTC, TemporalQueries.localTime(), null}, 593 ZonedDateTime zonedDateTime_target = ZonedDateTime.of(LocalDate.of(1909, 2, 2), LocalTime.of(10, 10, 10), ZoneId.of(zoneId)); 607 OffsetDateTime offsetDateTime_target = OffsetDateTime.of(LocalDate.of(1909, 2, 2), LocalTime.of(10, 10, 10), ZoneOffset.ofHours(i));
|
TCKDayOfWeek.java | 72 import java.time.LocalTime; 154 DayOfWeek.from(LocalTime.of(12, 30)); 225 {DayOfWeek.FRIDAY, TemporalQueries.localTime(), null},
|
TCKDuration.java | 82 import java.time.LocalTime; 791 {LocalTime.of(11, 0, 30), LocalTime.of(11, 0, 45), 15L, 0}, 792 {LocalTime.of(11, 0, 30), LocalTime.of(11, 0, 25), -5L, 0}, 797 public void factory_between_TemporalTemporal_LT(LocalTime start, LocalTime end, long expectedSeconds, int expectedNanoOfSecond) { 804 public void factory_between_TemporalTemporal_LT_negated(LocalTime start, LocalTime end, long expectedSeconds, int expectedNanoOfSecond) { [all...] |
TCKZoneId.java | 73 import java.time.LocalTime; 540 ZoneId.from(LocalTime.of(12, 30));
|
TCKMonth.java | 67 import java.time.LocalTime; 146 Month.from(LocalTime.of(12, 30)); 217 {Month.JUNE, TemporalQueries.localTime(), null},
|
TCKZonedDateTime.java | 110 import java.time.LocalTime; 306 LocalTime expected = LocalTime.MIDNIGHT.plusNanos(123456789L); 353 // of(LocalDate, LocalTime, ZoneId) 357 ZonedDateTime test = ZonedDateTime.of(LocalDate.of(2008, 6, 30), LocalTime.of(11, 30, 10, 500), ZONE_PARIS); 375 ZonedDateTime.of((LocalDate) null, LocalTime.of(11, 30, 10, 500), ZONE_PARIS); 380 ZonedDateTime.of(LocalDate.of(2008, 6, 30), (LocalTime) null, ZONE_PARIS); 385 ZonedDateTime.of(LocalDate.of(2008, 6, 30), LocalTime.of(11, 30, 10, 500), null); 723 ZonedDateTime.from(LocalTime.of(12, 30)); [all...] |
TCKYear.java | 82 import java.time.LocalTime; 198 Instant instant = OffsetDateTime.of(LocalDate.of(2010, 12, 31), LocalTime.of(0, 0), ZoneOffset.UTC).toInstant(); 237 Year.from(LocalTime.of(12, 30)); 421 {TEST_2008, TemporalQueries.localTime(), null}, 784 test.with(LocalTime.of(18, 1, 2)); [all...] |
TCKMonthDay.java | 76 import java.time.LocalTime; 262 MonthDay.from(LocalTime.of(12, 30)); 441 {TEST_07_15, TemporalQueries.localTime(), null},
|
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/ |
TCKIsoChronology.java | 65 import java.time.LocalTime; 202 return LocalTime.of(12, 30, 40).toNanoOfDay(); 213 if (query == TemporalQueries.localTime()) { 214 return (R) LocalTime.of(12, 30, 40); 251 return LocalTime.of(12, 30, 40).toNanoOfDay(); 262 if (query == TemporalQueries.localTime()) { 263 return (R) LocalTime.of(12, 30, 40);
|
/libcore/ojluni/src/main/java/java/time/ |
LocalDate.java | 64 import static java.time.LocalTime.SECONDS_PER_DAY; [all...] |
Duration.java | 64 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; 449 * of the first object. For example, if the first argument is a {@code LocalTime} 450 * then the second argument is converted to a {@code LocalTime}. [all...] |
OffsetDateTime.java | 255 public static OffsetDateTime of(LocalDate date, LocalTime time, ZoneOffset offset) { 355 LocalTime time = temporal.query(TemporalQueries.localTime()); [all...] |
ZonedDateTime.java | 258 public static ZonedDateTime of(LocalDate date, LocalTime time, ZoneId zone) { 554 LocalTime time = LocalTime.from(temporal); [all...] |
/libcore/ojluni/src/main/java/java/time/chrono/ |
MinguoDate.java | 73 import java.time.LocalTime; 421 public final ChronoLocalDateTime<MinguoDate> atTime(LocalTime localTime) { 422 return (ChronoLocalDateTime<MinguoDate>)super.atTime(localTime);
|
ThaiBuddhistDate.java | 73 import java.time.LocalTime; 421 public final ChronoLocalDateTime<ThaiBuddhistDate> atTime(LocalTime localTime) { 422 return (ChronoLocalDateTime<ThaiBuddhistDate>) super.atTime(localTime);
|
HijrahDate.java | 76 import java.time.LocalTime; 582 public final ChronoLocalDateTime<HijrahDate> atTime(LocalTime localTime) { 583 return (ChronoLocalDateTime<HijrahDate>)super.atTime(localTime);
|
JapaneseDate.java | 76 import java.time.LocalTime; 662 public final ChronoLocalDateTime<JapaneseDate> atTime(LocalTime localTime) { 663 return (ChronoLocalDateTime<JapaneseDate>)super.atTime(localTime);
|
/libcore/ojluni/src/test/java/time/test/java/util/ |
TestFormatter.java | 28 import java.time.LocalTime; 94 ChronoLocalDateTime<?> ldt0 = now.atTime(LocalTime.now());
|
/libcore/ojluni/src/test/java/time/tck/java/time/format/ |
TCKDateTimeFormatter.java | 81 import java.time.LocalTime; 280 LocalTime lt = LocalTime.of(11, 30); 282 OffsetTime ot = OffsetTime.of(LocalTime.of(11, 30), OFFSET_PONE); 411 test.format(LocalTime.of(11, 30)); 433 test.formatTo(LocalTime.of(11, 30), buf); [all...] |
/libcore/luni/src/test/java/libcore/java/time/ |
ZonedDateTimeTest.java | 21 import java.time.LocalTime;
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/ |
LegacyBootSupport.c | 875 UINT32 LocalTime;
[all...] |
LegacyPci.c | [all...] |
/libcore/ojluni/src/test/java/time/tck/java/time/zone/ |
TCKZoneRules.java | 76 import java.time.LocalTime; 378 assertEquals(in.getLocalTime(), LocalTime.of(1, 0)); 389 assertEquals(out.getLocalTime(), LocalTime.of(1, 0)); 471 odt = odt.withDayOfYear(1).plusYears(1).with(LocalTime.MIDNIGHT); [all...] |