Home
last modified time | relevance | path

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

/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/
DTCKLocalTime.java202 assertEquals(test.getSecond(), s); in check()
271 assertEquals(test.getSecond(), i % 60); in now_Clock_allSecsInDay()
284 assertEquals(test.getSecond(), (i + 24 * 60 * 60) % 60); in now_Clock_beforeEpoch()
296 assertEquals(test.getSecond(), 59); in now_Clock_max()
306 assertEquals(test.getSecond(), 0); in now_Clock_min()
491 assertEquals(t.getSecond(), s); in factory_parse_validText()
717 assertEquals(a.getSecond(), s); in test_get()
1198 assertEquals(t.getSecond(), i); in test_withSecond_normal()
1622 assertEquals(t.getSecond(), sec); in test_plusSeconds_one()
1674 assertEquals(sec, t.getSecond()); in test_plusSeconds_fromZero()
[all …]
DTCKOffsetTime.java229 assertEquals(test.getSecond(), i % 60);
243 assertEquals(test.getSecond(), (i + 24 * 60 * 60) % 60);
258 assertEquals(test.getSecond(), 0);
283 assertEquals(test.getSecond(), s);
338 assertEquals(test.getSecond(), i % 60);
350 assertEquals(test.getSecond(), (i + 24 * 60 * 60) % 60);
361 assertEquals(test.getSecond(), 59);
370 assertEquals(test.getSecond(), 0);
512 assertEquals(a.getSecond(), localTime.getSecond());
DTCKLocalDateTime.java234 assertEquals(test.getSecond(), s); in check()
317 assertEquals(test.getSecond(), i % 60);
333 assertEquals(test.getSecond(), i % 60);
876 assertEquals(t.getSecond(), s);
1108 assertEquals(a.getSecond(), s);
1321 assertEquals(t.getSecond(), i);
1892 assertEquals(t.getSecond(), sec);
1951 assertEquals(sec, t.getSecond());
1992 assertEquals(t.getSecond(), sec);
2055 assertEquals(sec, t.getSecond());
[all …]
DTCKZonedDateTime.java285 assertEquals(test.getSecond(), i % 60);
330 assertEquals(test.getSecond(), 0);
346 assertEquals(test.getSecond(), s);
485 assertEquals(test.getSecond(), i % 60);
514 assertEquals(test.getSecond(), 0);
531 assertEquals(test.getSecond(), 0);
548 assertEquals(test.getSecond(), 59);
565 assertEquals(test.getSecond(), 59);
742 assertEquals(t.getSecond(), s);
774 assertEquals(t.getSecond(), s);
[all …]
DTCKOffsetDateTime.java268 assertEquals(test.getSecond(), i % 60);
285 assertEquals(test.getSecond(), i % 60);
316 assertEquals(test.getSecond(), 0);
339 assertEquals(test.getSecond(), s);
434 assertEquals(t.getSecond(), s);
526 assertEquals(a.getSecond(), localDateTime.getSecond());
DTCKInstant.java1872 assertEquals(test.getSecond(), i % 60);
1894 assertEquals(test.getSecond(), i % 60);
/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/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()
DZonedDateTime.java1157 public int getSecond() { in getSecond() method in ZonedDateTime
1158 return dateTime.getSecond(); in getSecond()
DLocalDateTime.java852 public int getSecond() { in getSecond() method in LocalDateTime
853 return time.getSecond(); in getSecond()
DLocalTime.java700 public int getSecond() { in getSecond() method in LocalTime
/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.java3207 if (ldt.getSecond() == 0) { in format()
3218 if (ldt.getSecond() == 0) { in format()