/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | GregorianCalendarTest.java | 227 .get(Calendar.HOUR_OF_DAY)); in test_addII() 231 .get(Calendar.HOUR_OF_DAY)); in test_addII() 235 .get(Calendar.HOUR_OF_DAY)); in test_addII() 239 .get(Calendar.HOUR_OF_DAY)); in test_addII() 241 gc1.add(Calendar.HOUR_OF_DAY, 24); in test_addII() 243 .get(Calendar.HOUR_OF_DAY)); in test_addII() 248 .get(Calendar.HOUR_OF_DAY)); in test_addII() 252 .get(Calendar.HOUR_OF_DAY)); in test_addII() 256 .get(Calendar.HOUR_OF_DAY)); in test_addII() 260 .get(Calendar.HOUR_OF_DAY)); in test_addII() [all …]
|
D | CalendarTest.java | 379 int hourOfDay = cal.get(Calendar.HOUR_OF_DAY); in test_setII() 385 assertEquals(hourOfDay + 12, cal.get(Calendar.HOUR_OF_DAY)); in test_setII() 472 cal.set(Calendar.HOUR_OF_DAY, 0); in test_getTimeInMillis() 579 fields[3] = Calendar.HOUR_OF_DAY; in test_clear()
|
D | DateTest.java | 447 cal.set(Calendar.HOUR_OF_DAY, 0); in test_toString()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | CalendarTest.java | 156 assertEquals(hour, calendar.get(Calendar.HOUR_OF_DAY)); in testSetSelfConsistent() 203 assertEquals("hour", hour, calendar.get(Calendar.HOUR_OF_DAY)); in assertCalendarEquals() 232 cal.clear(Calendar.HOUR_OF_DAY); in checkClear() 240 assertFalse(cal.isSet(Calendar.HOUR_OF_DAY)); in checkClear() 243 assertEquals(expectedHourOfDay, cal.get(Calendar.HOUR_OF_DAY)); in checkClear() 249 assertTrue(cal.isSet(Calendar.HOUR_OF_DAY)); in checkClear() 253 cal.set(Calendar.HOUR_OF_DAY, 1); in checkClear() 313 calendar.set(Calendar.HOUR_OF_DAY, 1); in testSetHourOfDayInEuropeLondon() 314 assertEquals(1,calendar.get(Calendar.HOUR_OF_DAY)); in testSetHourOfDayInEuropeLondon()
|
D | SimpleTimeZoneTest.java | 219 cal.add(Calendar.HOUR_OF_DAY, 1); in findDstEntryAndExit() 232 cal.add(Calendar.HOUR_OF_DAY, 1); in findDstEntryAndExit()
|
D | OldGregorianCalendarTest.java | 64 assertEquals(17, g.get(Calendar.HOUR_OF_DAY)); in test_computeFields()
|
/libcore/luni/src/test/java/libcore/java/sql/ |
D | OldResultSetGetterTests.java | 928 cal.set(Calendar.HOUR_OF_DAY, 12); in testGetTimeInt() 942 cal2.set(Calendar.HOUR_OF_DAY, 14); in testGetTimeInt() 987 cal1.set(Calendar.HOUR_OF_DAY, 12); in testGetTimeIntCalendar() 999 cal2.set(Calendar.HOUR_OF_DAY, 14); in testGetTimeIntCalendar() 1052 cal.set(Calendar.HOUR_OF_DAY, 12); in testGetTimeString() 1072 cal2.set(Calendar.HOUR_OF_DAY, 14); in testGetTimeString() 1112 cal1.set(Calendar.HOUR_OF_DAY, 12); in testGetTimeStringCalendar() 1124 cal2.set(Calendar.HOUR_OF_DAY, 14); in testGetTimeStringCalendar() 1171 cal2.set(Calendar.HOUR_OF_DAY, 14); in testGetTimestampInt() 1184 cal3.set(Calendar.HOUR_OF_DAY, 10); in testGetTimestampInt() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | DataFormatFieldTest.java | 121 Calendar.HOUR_OF_DAY, Field.HOUR_OF_DAY0.getCalendarField()); in test_getCalendarField() 141 Field.HOUR_OF_DAY0, Field.ofCalendarField(Calendar.HOUR_OF_DAY)); in test_ofCalendarFieldI()
|
/libcore/luni/src/test/java/libcore/java/text/ |
D | SimpleDateFormatTest.java | 311 assertEquals(11, calendar.get(Calendar.HOUR_OF_DAY)); // 18:00 GMT-7 in testDstZoneNameWithNonDstTimestamp() 319 assertEquals(9, calendar.get(Calendar.HOUR_OF_DAY)); // 17:00 GMT-8 in testNonDstZoneNameWithDstTimestamp() 328 assertEquals(19, calendar.get(Calendar.HOUR_OF_DAY)); // 9:00 GMT+10:30 in testDstZoneWithNonDstTimestampForNonHourDstZone() 336 assertEquals(20, calendar.get(Calendar.HOUR_OF_DAY)); // 9:00 GMT+11:00 in testNonDstZoneWithDstTimestampForNonHourDstZone()
|
/libcore/ojluni/src/main/java/java/util/ |
D | Calendar.java | 520 public final static int HOUR_OF_DAY = 11; field in Calendar 924 final static int HOUR_OF_DAY_MASK = (1 << HOUR_OF_DAY); 1252 set(HOUR_OF_DAY, hourOfDay); in set() 1280 set(HOUR_OF_DAY, hourOfDay); in set() 1812 int hourOfDayStamp = stamp[HOUR_OF_DAY]; in selectFields()
|
D | GregorianCalendar.java | 716 this.set(HOUR_OF_DAY, hourOfDay); in GregorianCalendar() 982 case HOUR_OF_DAY: 1033 timeOfDay += internalGet(HOUR_OF_DAY); 1162 case HOUR_OF_DAY: in roll() 1190 internalSet(HOUR_OF_DAY, hourOfDay); in roll() 1937 t += internalGet(HOUR_OF_DAY); in getYearOffsetInMillis() 2385 internalSet(HOUR_OF_DAY, hours); in computeFields() 2394 internalSet(HOUR_OF_DAY, 0); in computeFields() 2626 if (isFieldSet(fieldMask, HOUR_OF_DAY)) { in computeTime() 2627 timeOfDay += (long) internalGet(HOUR_OF_DAY); in computeTime()
|
D | Formatter.java | 3927 case DateTime.HOUR_OF_DAY: // 'k' (0 - 23) -- like H 3929 int i = t.get(Calendar.HOUR_OF_DAY); 4435 static final char HOUR_OF_DAY = 'k'; // (0 - 23) -- like H 4483 case HOUR_OF_DAY:
|
/libcore/luni/src/main/java/libcore/icu/ |
D | DateIntervalFormat.java | 99 return c.get(Calendar.HOUR_OF_DAY) == 0 && in isMidnight()
|
/libcore/luni/src/test/java/libcore/icu/ |
D | DateIntervalFormatTest.java | 40 c.set(Calendar.HOUR_OF_DAY, 3); in test_formatDateInterval() 338 c.set(Calendar.HOUR_OF_DAY, 0); in test10209343_when_this_year() 393 c.set(Calendar.HOUR_OF_DAY, 0); in test12004664()
|
/libcore/ojluni/src/main/java/java/text/ |
D | SimpleDateFormat.java | 1026 Calendar.HOUR_OF_DAY, Calendar.HOUR_OF_DAY, Calendar.MINUTE, 1155 zeroPaddingNumber(calendar.getMaximum(Calendar.HOUR_OF_DAY)+1, in subFormat() 1961 if (value == calendar.getMaximum(Calendar.HOUR_OF_DAY)+1) in subParse() 1963 calb.set(Calendar.HOUR_OF_DAY, value); in subParse()
|
D | DateFormat.java | 934 Field("hour of day", Calendar.HOUR_OF_DAY);
|
/libcore/luni/src/main/java/libcore/util/ |
D | ZoneInfo.java | 1144 calendar.set(Calendar.HOUR_OF_DAY, hour); 1154 hour = calendar.get(Calendar.HOUR_OF_DAY);
|