Searched refs:withSecond (Results 1 – 13 of 13) sorted by relevance
/libcore/ojluni/src/test/java/time/test/java/time/ |
D | TestLocalDateTime.java | 188 LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.withSecond(40); in test_withSecond_noChange() 194 … LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.with(LocalTime.of(0, 0, 1)).withSecond(0); in test_withSecond_toMidnight() 200 … LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.with(LocalTime.of(12, 0, 1)).withSecond(0); in test_withSecond_toMidday()
|
D | TestOffsetDateTime.java | 189 OffsetDateTime test = base.withSecond(59); in test_withSecond_noChange()
|
/libcore/ojluni/src/main/java/java/time/ |
D | OffsetTime.java | 774 public OffsetTime withSecond(int second) { in withSecond() method in OffsetTime 775 return with(time.withSecond(second), offset); in withSecond()
|
D | OffsetDateTime.java | 1084 public OffsetDateTime withSecond(int second) { in withSecond() method in OffsetDateTime 1085 return with(dateTime.withSecond(second), offset); in withSecond()
|
D | LocalTime.java | 838 case SECOND_OF_MINUTE: return withSecond((int) newValue); in with() 897 public LocalTime withSecond(int second) { in withSecond() method in LocalTime
|
D | ZonedDateTime.java | 1464 public ZonedDateTime withSecond(int second) { in withSecond() method in ZonedDateTime 1465 return resolveLocal(dateTime.withSecond(second)); in withSecond()
|
D | LocalDateTime.java | 1074 public LocalDateTime withSecond(int second) { in withSecond() method in LocalDateTime 1075 LocalTime newTime = time.withSecond(second); in withSecond()
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKLocalTime.java | 1197 t = t.withSecond(i); in test_withSecond_normal() 1204 LocalTime t = TEST_12_30_40_987654321.withSecond(40); in test_withSecond_noChange_equal() 1210 LocalTime t = LocalTime.of(0, 0, 1).withSecond(0); in test_withSecond_toMidnight_equal() 1216 LocalTime t = LocalTime.of(12, 0, 1).withSecond(0); in test_withSecond_toMidday_equal() 1222 TEST_12_30_40_987654321.withSecond(-1); in test_withSecond_secondTooLow() 1227 TEST_12_30_40_987654321.withSecond(60); in test_withSecond_secondTooHigh()
|
D | TCKOffsetTime.java | 840 OffsetTime test = base.withSecond(15); 847 OffsetTime test = base.withSecond(59);
|
D | TCKZonedDateTime.java | 1534 ZonedDateTime test = base.withSecond(12); 1535 …assertEquals(test, ZonedDateTime.of(TEST_LOCAL_2008_06_30_11_30_59_500.withSecond(12), ZONE_0100)); 1541 ZonedDateTime test = base.withSecond(59);
|
D | TCKLocalDateTime.java | 1320 t = t.withSecond(i); 1327 TEST_2007_07_15_12_30_40_987654321.withSecond(-1); 1332 TEST_2007_07_15_12_30_40_987654321.withSecond(60);
|
D | TCKOffsetDateTime.java | 892 OffsetDateTime test = base.withSecond(15);
|
/libcore/ojluni/annotations/hiddenapi/java/time/ |
D | OffsetDateTime.java | 261 public java.time.OffsetDateTime withSecond(int second) { in withSecond() method in OffsetDateTime
|