Home
last modified time | relevance | path

Searched refs:getHours (Results 1 – 15 of 15) sorted by relevance

/libcore/luni/src/test/java/libcore/java/text/
DOldDateFormatTest.java230 assertEquals(current.getHours(), date.getHours()); in test_parseLString()
263 assertEquals(0, date.getHours()); in test_parseLString()
291 assertEquals(0, date.getHours()); in test_parseLString()
305 assertEquals(0, date.getHours()); in test_parseLString()
318 assertEquals(current.getHours(), date.getHours()); in test_parseLString()
338 assertEquals(current.getHours(), date.getHours()); in test_parseLString()
393 assertEquals("Hours are different", current.getHours(), result.getHours()); in test_parseObjectLjava_lang_StringLjava_text_ParsePosition()
423 assertEquals("Hours are different", current.getHours(), result.getHours()); in test_parseObjectLjava_lang_StringLjava_text_ParsePosition()
/libcore/ojluni/src/main/java/sun/util/calendar/
DImmutableGregorianDate.java97 public int getHours() { in getHours() method in ImmutableGregorianDate
98 return date.getHours(); in getHours()
DAbstractCalendar.java233 long fraction = date.getHours(); in getTimeOfDayValue()
360 int t = date.getHours(); in validateTime()
DCalendarDate.java218 public int getHours() { in getHours() method in CalendarDate
/libcore/ojluni/src/main/java/java/util/
DDate.java812 public int getHours() { in getHours() method in Date
813 return normalize().getHours(); in getHours()
1061 CalendarUtils.sprintf0d(sb, date.getHours(), 2).append(':'); // HH in toString()
1149 CalendarUtils.sprintf0d(sb, date.getHours(), 2).append(':'); // HH in toGMTString()
1241 int hh = date.getHours(); in normalize()
DGregorianCalendar.java1224 int hourOfDay = d.getHours(); in roll()
1968 long maxEnd = (cal.getDayOfYear(d) - 1) * 24 + d.getHours(); in getActualMaximum()
DJapaneseImperialCalendar.java613 int hourOfDay = d.getHours(); in roll()
/libcore/ojluni/src/main/java/java/util/zip/
DZipUtils.java104 d.getDate() << 16 | d.getHours() << 11 | d.getMinutes() << 5 | in javaToDosTime()
/libcore/ojluni/src/main/java/java/sql/
DTime.java120 int hour = super.getHours(); in toString()
DDate.java186 public int getHours() { in getHours() method in Date
DTimestamp.java279 int hour = super.getHours(); in toString()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DDateTest.java225 assertEquals("Returned incorrect hours", 19, d.getHours()); in test_getHours()
366 assertEquals("Set incorrect hours", 23, d.getHours()); in test_setHoursI()
/libcore/ojluni/annotations/hiddenapi/sun/util/calendar/
DImmutableGregorianDate.java91 public int getHours() { in getHours() method in ImmutableGregorianDate
DCalendarDate.java100 public int getHours() { in getHours() method in CalendarDate
/libcore/luni/src/main/java/javax/xml/datatype/
DDuration.java269 public int getHours() { in getHours() method in Duration