Home
last modified time | relevance | path

Searched refs:getSecond (Results 1 – 22 of 22) sorted by relevance

/libcore/luni/src/test/java/libcore/javax/xml/datatype/
DXMLGregorianCalendarTest.java48 assertEquals(3, calendar.getSecond()); in testSetTime_iii()
55 assertEquals(3, calendar.getSecond()); in testSetTime_iiii()
63 assertEquals(3, calendar.getSecond()); in testSetTime_iiiBigDecimal()
186 public int getSecond() { in getSecond() method in XMLGregorianCalendarTest.XMLGregorianCalendarImpl
202 if (second != rhs.getSecond()) return second - rhs.getSecond(); in compare()
/libcore/luni/src/main/java/javax/xml/datatype/
DXMLGregorianCalendar.java568 public abstract int getSecond(); in getSecond() method in XMLGregorianCalendar
697 + gc.getSecond(); in hashCode()
/libcore/ojluni/src/test/java/time/test/java/time/
DTestOffsetDateTime_instants.java106 assertEquals(test.getSecond(), i % 60); in factory_ofInstant_allSecsInDay()
165 assertEquals(test.getSecond(), 0); in factory_ofInstant_minWithMinOffset()
181 assertEquals(test.getSecond(), 0); in factory_ofInstant_minWithMaxOffset()
197 assertEquals(test.getSecond(), 59); in factory_ofInstant_maxWithMinOffset()
213 assertEquals(test.getSecond(), 59); in factory_ofInstant_maxWithMaxOffset()
DTestLocalTime.java90 assertEquals(time.getSecond(), s); in check()
/libcore/ojluni/src/test/java/time/tck/java/time/format/
DTCKLocalizedPrinterParser.java199 Date oldDate = new Date(1970, 0, 0, time.getHour(), time.getMinute(), time.getSecond()); in test_time_print()
211 Date oldDate = new Date(1970, 0, 0, time.getHour(), time.getMinute(), time.getSecond()); in test_time_parse()
DTCKDateTimeFormatters.java1441 fields.put(SECOND_OF_MINUTE, (long) dt.getSecond()); in setFields()
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKLocalTime.java204 assertEquals(test.getSecond(), s); in check()
267 assertEquals(test.getSecond(), i % 60); in now_Clock_allSecsInDay()
280 assertEquals(test.getSecond(), (i + 24 * 60 * 60) % 60); in now_Clock_beforeEpoch()
292 assertEquals(test.getSecond(), 59); in now_Clock_max()
302 assertEquals(test.getSecond(), 0); in now_Clock_min()
519 assertEquals(t.getSecond(), s); in factory_parse_validText()
745 assertEquals(a.getSecond(), s); in test_get()
1226 assertEquals(t.getSecond(), i); in test_withSecond_normal()
1650 assertEquals(t.getSecond(), sec); in test_plusSeconds_one()
1702 assertEquals(sec, t.getSecond()); in test_plusSeconds_fromZero()
[all …]
DTCKOffsetTime.java233 assertEquals(test.getSecond(), i % 60);
247 assertEquals(test.getSecond(), (i + 24 * 60 * 60) % 60);
262 assertEquals(test.getSecond(), 0);
287 assertEquals(test.getSecond(), s);
342 assertEquals(test.getSecond(), i % 60);
354 assertEquals(test.getSecond(), (i + 24 * 60 * 60) % 60);
365 assertEquals(test.getSecond(), 59);
374 assertEquals(test.getSecond(), 0);
504 assertEquals(a.getSecond(), localTime.getSecond());
DTCKLocalDateTime.java233 assertEquals(test.getSecond(), s); in check()
311 assertEquals(test.getSecond(), i % 60);
327 assertEquals(test.getSecond(), i % 60);
870 assertEquals(t.getSecond(), s);
1102 assertEquals(a.getSecond(), s);
1315 assertEquals(t.getSecond(), i);
1886 assertEquals(t.getSecond(), sec);
1945 assertEquals(sec, t.getSecond());
1986 assertEquals(t.getSecond(), sec);
2049 assertEquals(sec, t.getSecond());
[all …]
DTCKZonedDateTime.java279 assertEquals(test.getSecond(), i % 60);
324 assertEquals(test.getSecond(), 0);
340 assertEquals(test.getSecond(), s);
479 assertEquals(test.getSecond(), i % 60);
508 assertEquals(test.getSecond(), 0);
525 assertEquals(test.getSecond(), 0);
542 assertEquals(test.getSecond(), 59);
559 assertEquals(test.getSecond(), 59);
736 assertEquals(t.getSecond(), s);
769 assertEquals(t.getSecond(), s);
[all …]
DTCKOffsetDateTime.java265 assertEquals(test.getSecond(), i % 60);
282 assertEquals(test.getSecond(), i % 60);
313 assertEquals(test.getSecond(), 0);
336 assertEquals(test.getSecond(), s);
431 assertEquals(t.getSecond(), s);
511 assertEquals(a.getSecond(), localDateTime.getSecond());
DTCKInstant.java1878 assertEquals(test.getSecond(), i % 60);
1900 assertEquals(test.getSecond(), i % 60);
/libcore/ojluni/src/main/java/java/time/
DOffsetTime.java630 public int getSecond() { in getSecond() method in OffsetTime
631 return time.getSecond(); in getSecond()
DOffsetDateTime.java843 public int getSecond() { in getSecond() method in OffsetDateTime
844 return dateTime.getSecond(); in getSecond()
DLocalDateTime.java852 public int getSecond() { in getSecond() method in LocalDateTime
853 return time.getSecond(); in getSecond()
DZonedDateTime.java1158 public int getSecond() { in getSecond() method in ZonedDateTime
1159 return dateTime.getSecond(); in getSecond()
DLocalTime.java723 public int getSecond() { in getSecond() method in LocalTime
/libcore/ojluni/annotations/mmodule/java/time/
DOffsetTime.annotated.java112 public int getSecond() { throw new RuntimeException("Stub!"); } in getSecond() method in OffsetTime
/libcore/ojluni/src/main/java/java/nio/file/attribute/
DFileTime.java459 append(sb, 10, ldt.getSecond()); in toString()
/libcore/ojluni/annotations/hiddenapi/java/time/
DOffsetDateTime.java221 public int getSecond() { in getSecond() method in OffsetDateTime
/libcore/ojluni/src/main/java/java/time/format/
DDateTimeFormatterBuilder.java3434 if (ldt.getSecond() == 0) { in format()
3445 if (ldt.getSecond() == 0) { in format()
/libcore/api/
Dcurrent.txt11053 method public int getSecond();
11119 method public int getSecond();
11236 method public int getSecond();
11309 method public int getSecond();
11508 method public int getSecond();
19183 method public abstract int getSecond();