Home
last modified time | relevance | path

Searched refs:getHour (Results 1 – 21 of 21) sorted by relevance

/libcore/luni/src/main/java/javax/xml/datatype/
DXMLGregorianCalendar.java538 public abstract int getHour(); in getHour() method in XMLGregorianCalendar
695 + gc.getHour() in hashCode()
/libcore/ojluni/src/test/java/time/test/java/time/
DTestOffsetDateTime_instants.java104 assertEquals(test.getHour(), ((i / (60 * 60)) + 1) % 24); in factory_ofInstant_allSecsInDay()
163 assertEquals(test.getHour(), 0); in factory_ofInstant_minWithMinOffset()
179 assertEquals(test.getHour(), 0); in factory_ofInstant_minWithMaxOffset()
195 assertEquals(test.getHour(), 23); in factory_ofInstant_maxWithMinOffset()
211 assertEquals(test.getHour(), 23); in factory_ofInstant_maxWithMaxOffset()
DTestLocalTime.java88 assertEquals(time.getHour(), h); in check()
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKLocalTime.java200 assertEquals(test.getHour(), h); in check()
269 assertEquals(test.getHour(), (i / (60 * 60)) % 24); in now_Clock_allSecsInDay()
282 assertEquals(test.getHour(), ((i + 24 * 60 * 60) / (60 * 60)) % 24); in now_Clock_beforeEpoch()
294 assertEquals(test.getHour(), 23); in now_Clock_max()
304 assertEquals(test.getHour(), 0); in now_Clock_min()
489 assertEquals(t.getHour(), h); in factory_parse_validText()
715 assertEquals(a.getHour(), h); in test_get()
1118 assertEquals(t.getHour(), i); in test_withHour_normal()
1477 assertEquals(t.getHour(), (i + 1) % 24); in test_plusHours_one()
1486 assertEquals(t.getHour(), (i + 72) % 24); in test_plusHours_fromZero()
[all …]
DTCKLocalDateTime.java232 assertEquals(test.getHour(), h); in check()
315 assertEquals(test.getHour(), (i / (60 * 60)) % 24);
331 assertEquals(test.getHour(), (i / (60 * 60)) % 24);
874 assertEquals(t.getHour(), h);
1106 assertEquals(a.getHour(), h);
1277 assertEquals(t.getHour(), i);
1772 assertEquals(t.getHour(), (i + 1) % 24);
1786 if (t.getHour() == 0) {
1806 if (t.getHour() == 0) {
1835 assertEquals(t.getHour(), hour);
[all …]
DTCKOffsetTime.java227 assertEquals(test.getHour(), (i / (60 * 60)) % 24);
241 assertEquals(test.getHour(), ((i + 24 * 60 * 60) / (60 * 60)) % 24);
256 assertEquals(test.getHour(), (12 + i) % 24);
281 assertEquals(test.getHour(), h);
336 assertEquals(test.getHour(), (i / (60 * 60)) % 24);
348 assertEquals(test.getHour(), ((i + 24 * 60 * 60) / (60 * 60)) % 24);
359 assertEquals(test.getHour(), 23);
368 assertEquals(test.getHour(), 0);
510 assertEquals(a.getHour(), localTime.getHour());
DTCKZonedDateTime.java283 assertEquals(test.getHour(), (i / (60 * 60)) % 24);
328 assertEquals(test.getHour(), (12 + i) % 24);
344 assertEquals(test.getHour(), h);
483 assertEquals(test.getHour(), ((i / (60 * 60)) + 1) % 24);
512 assertEquals(test.getHour(), 0);
529 assertEquals(test.getHour(), 0);
546 assertEquals(test.getHour(), 23);
563 assertEquals(test.getHour(), 23);
740 assertEquals(t.getHour(), h);
772 assertEquals(t.getHour(), h);
[all …]
DTCKOffsetDateTime.java266 assertEquals(test.getHour(), (i / (60 * 60)) % 24);
283 assertEquals(test.getHour(), (i / (60 * 60)) % 24);
314 assertEquals(test.getHour(), (12 + i) % 24);
337 assertEquals(test.getHour(), h);
432 assertEquals(t.getHour(), h);
524 assertEquals(a.getHour(), localDateTime.getHour());
DTCKInstant.java1870 assertEquals(test.getHour(), ((i / (60 * 60)) + 1) % 24);
1892 assertEquals(test.getHour(), ((i / (60 * 60)) + 1) % 24);
/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.java1439 fields.put(HOUR_OF_DAY, (long) dt.getHour()); in setFields()
/libcore/ojluni/src/main/java/java/time/
DOffsetTime.java612 public int getHour() { in getHour() method in OffsetTime
613 return time.getHour(); in getHour()
DOffsetDateTime.java825 public int getHour() { in getHour() method in OffsetDateTime
826 return dateTime.getHour(); in getHour()
DZonedDateTime.java1139 public int getHour() { in getHour() method in ZonedDateTime
1140 return dateTime.getHour(); in getHour()
DLocalDateTime.java834 public int getHour() { in getHour() method in LocalDateTime
835 return time.getHour(); in getHour()
DLocalTime.java682 public int getHour() { in getHour() method in LocalTime
/libcore/ojluni/src/main/java/java/time/zone/
DZoneOffsetTransitionRule.java305 final int timeByte = (timeSecs % 3600 == 0 ? (timeEndOfDay ? 24 : time.getHour()) : 31); in writeExternal()
/libcore/ojluni/src/main/java/java/nio/file/attribute/
DFileTime.java455 append(sb, 10, ldt.getHour()); in toString()
/libcore/ojluni/annotations/hiddenapi/java/time/
DOffsetDateTime.java213 public int getHour() { in getHour() method in OffsetDateTime
/libcore/luni/src/main/java/libcore/util/
DZoneInfo.java1183 public int getHour() {
/libcore/mmodules/core_platform_api/api/platform/
Dcurrent-api.txt1339 method public int getHour();