/libcore/ojluni/src/main/java/java/time/ |
D | Clock.java | 377 public abstract Clock withZone(ZoneId zone); in withZone() method in Clock 459 public Clock withZone(ZoneId zone) { in withZone() method in Clock.SystemClock 509 public Clock withZone(ZoneId zone) { in withZone() method in Clock.FixedClock 559 public Clock withZone(ZoneId zone) { in withZone() method in Clock.OffsetClock 563 return new OffsetClock(baseClock.withZone(zone), offset); in withZone() 609 public Clock withZone(ZoneId zone) { in withZone() method in Clock.TickClock 613 return new TickClock(baseClock.withZone(zone), tickNanos); in withZone()
|
/libcore/ojluni/src/test/java/time/test/java/time/format/ |
D | TestDateTimeParsing.java | 99 private static final DateTimeFormatter LOCALFIELDS_WITH_PARIS = LOCALFIELDS.withZone(PARIS); 100 … private static final DateTimeFormatter LOCALFIELDS_WITH_0230 = LOCALFIELDS.withZone(OFFSET_0230); 103 private static final DateTimeFormatter INSTANT_WITH_PARIS = INSTANT.withZone(PARIS); 104 private static final DateTimeFormatter INSTANT_WITH_0230 = INSTANT.withZone(OFFSET_0230); 111 … private static final DateTimeFormatter INSTANTSECONDS_WITH_PARIS = INSTANTSECONDS.withZone(PARIS); 114 … static final DateTimeFormatter INSTANTSECONDS_NOS_WITH_PARIS = INSTANTSECONDS_NOS.withZone(PARIS);
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKClock_System.java | 136 Clock changed = test.withZone(MOSCOW); in test_withZone() 143 Clock changed = test.withZone(PARIS); in test_withZone_equal() 149 Clock changed = test.withZone(PARIS); in test_withZone_fromUTC() 155 Clock.systemUTC().withZone(null); in test_withZone_null()
|
D | TCKClock_Fixed.java | 104 Clock changed = test.withZone(MOSCOW); in test_withZone() 111 Clock changed = test.withZone(PARIS); in test_withZone_equal() 117 Clock.fixed(INSTANT, PARIS).withZone(null); in test_withZone_null()
|
D | TCKClock.java | 96 public Clock withZone(ZoneId timeZone) { in withZone() method in TCKClock.MockInstantClock 128 Clock changed = MOCK_INSTANT.withZone(london); in test_mockInstantClock_withZone()
|
D | TCKClock_Offset.java | 113 Clock changed = test.withZone(MOSCOW); in test_withZone() 120 Clock changed = test.withZone(PARIS); in test_withZone_equal() 126 Clock.offset(Clock.system(PARIS), OFFSET).withZone(null); in test_withZone_null()
|
D | TCKClock_Tick.java | 193 Clock changed = test.withZone(MOSCOW); in test_withZone() 200 Clock changed = test.withZone(PARIS); in test_withZone_equal() 206 Clock.tick(Clock.system(PARIS), Duration.ofMillis(500)).withZone(null); in test_withZone_null()
|
/libcore/ojluni/src/test/java/time/test/java/time/ |
D | TestClock_System.java | 80 Clock changed = test.withZone(PARIS); in test_withZone_same()
|
D | TestClock_Offset.java | 83 Clock changed = test.withZone(PARIS); in test_withZone_same()
|
D | TestClock_Fixed.java | 85 Clock changed = test.withZone(PARIS); in test_withZone_same()
|
D | TestClock_Tick.java | 87 Clock changed = test.withZone(PARIS); in test_withZone_same()
|
/libcore/ojluni/src/test/java/time/tck/java/time/format/ |
D | TCKSignStyle.java | 123 formatter = formatter.withZone(ZoneOffset.UTC); in test_signStyle()
|
D | TCKDateTimeFormatter.java | 164 test = test.withZone(ZoneId.of("Europe/Paris")); in test_withZone() 166 test = test.withZone(ZoneOffset.UTC); in test_withZone() 168 test = test.withZone(null); in test_withZone() 363 .withChronology(overrideChrono).withZone(overrideZone); in test_format_withZone_withChronology()
|
D | TCKDateTimeParseResolver.java | 949 f = f.withZone(EUROPE_ATHENS); in test_withZone_override() 968 f = f.withZone(EUROPE_ATHENS); in test_withZone_parsedZone_override() 1103 f = f.withZone(EUROPE_PARIS); in test_fieldResolvesToChronoZonedDateTime_overrideZone_matches() 1111 f = f.withZone(ZoneId.of("Europe/London")); in test_fieldResolvesToChronoZonedDateTime_overrideZone_wrongZone()
|
/libcore/ojluni/src/main/java/java/time/format/ |
D | DateTimeFormatter.java | 1545 public DateTimeFormatter withZone(ZoneId zone) { in withZone() method in DateTimeFormatter
|