/libcore/luni/src/main/java/org/apache/harmony/security/asn1/ |
ASN1Time.java | 48 c.set(Calendar.HOUR_OF_DAY, in.times[3]);
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
GregorianCalendarTest.java | 216 .get(Calendar.HOUR_OF_DAY)); 220 .get(Calendar.HOUR_OF_DAY)); 224 .get(Calendar.HOUR_OF_DAY)); 228 .get(Calendar.HOUR_OF_DAY)); 230 gc1.add(Calendar.HOUR_OF_DAY, 24); 231 assertEquals("Wrong time after HOUR_OF_DAY change", 16, gc1 232 .get(Calendar.HOUR_OF_DAY)); 237 .get(Calendar.HOUR_OF_DAY)); 241 .get(Calendar.HOUR_OF_DAY)); 245 .get(Calendar.HOUR_OF_DAY)); [all...] |
/libcore/luni/src/main/java/java/util/ |
GregorianCalendar.java | 144 * System.out.println("HOUR_OF_DAY: " + calendar.get(Calendar.HOUR_OF_DAY)); 154 * calendar.clear(Calendar.HOUR_OF_DAY); // so doesn't override 169 * System.out.println("HOUR_OF_DAY: " + calendar.get(Calendar.HOUR_OF_DAY)); 421 case HOUR_OF_DAY: 554 fields[HOUR_OF_DAY] = (millis % 24); 555 fields[AM_PM] = fields[HOUR_OF_DAY] > 11 ? 1 : 0; 556 fields[HOUR] = fields[HOUR_OF_DAY] % 12; 654 fields[HOUR_OF_DAY] = (millis % 24) [all...] |
Calendar.java | 130 * HOUR_OF_DAY 609 * @see #HOUR_OF_DAY 615 * hour of the day. {@code HOUR_OF_DAY} is used for the 24-hour 616 * clock. E.g., at 10:04:15.250 PM the {@code HOUR_OF_DAY} is 22. 620 public static final int HOUR_OF_DAY = 11; 696 "HOUR_OF_DAY", "MINUTE", "SECOND", "MILLISECOND", [all...] |
Date.java | 258 * @deprecated use {@code Calendar.get(Calendar.HOUR_OF_DAY)} 262 return new GregorianCalendar(milliseconds).get(Calendar.HOUR_OF_DAY); 576 * @deprecated use {@code Calendar.set(Calendar.HOUR_OF_DAY, hour)} 581 cal.set(Calendar.HOUR_OF_DAY, hour); 705 appendTwoDigits(result, cal.get(Calendar.HOUR_OF_DAY));
|
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
DataFormatFieldTest.java | 121 Calendar.HOUR_OF_DAY, Field.HOUR_OF_DAY0.getCalendarField()); 140 "ofCalendarField(Calendar.HOUR_OF_DAY) returned the wrong value", 141 Field.HOUR_OF_DAY0, Field.ofCalendarField(Calendar.HOUR_OF_DAY));
|
/libcore/luni/src/test/java/libcore/java/text/ |
SimpleDateFormatTest.java | 188 assertEquals(11, calendar.get(Calendar.HOUR_OF_DAY)); // 18:00 GMT-7 196 assertEquals(9, calendar.get(Calendar.HOUR_OF_DAY)); // 17:00 GMT-8 205 assertEquals(19, calendar.get(Calendar.HOUR_OF_DAY)); // 9:00 GMT+10:30 213 assertEquals(20, calendar.get(Calendar.HOUR_OF_DAY)); // 9:00 GMT+11:00
|
/frameworks/base/core/java/android/util/ |
MonthDisplayHelper.java | 57 mCalendar.set(Calendar.HOUR_OF_DAY, 0);
|
/frameworks/base/core/java/android/webkit/ |
DateSorter.java | 119 c.set(Calendar.HOUR_OF_DAY, 0);
|
/libcore/luni/src/test/java/libcore/java/sql/ |
OldResultSetGetterTests.java | 928 cal.set(Calendar.HOUR_OF_DAY, 12); 942 cal2.set(Calendar.HOUR_OF_DAY, 14); 987 cal1.set(Calendar.HOUR_OF_DAY, 12); 999 cal2.set(Calendar.HOUR_OF_DAY, 14); [all...] |
/libcore/luni/src/test/java/libcore/java/util/ |
OldGregorianCalendarTest.java | 64 assertEquals(17, g.get(Calendar.HOUR_OF_DAY));
|
CalendarTest.java | 154 assertEquals(hour, calendar.get(Calendar.HOUR_OF_DAY)); 197 assertEquals(hour, calendar.get(Calendar.HOUR_OF_DAY));
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
DateWidgets1.java | 85 mHour = c.get(Calendar.HOUR_OF_DAY);
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
HeaderParser.java | 135 calendar.set(Calendar.HOUR_OF_DAY, hour);
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
HandleSetAlarm.java | 53 calendar.get(Calendar.HOUR_OF_DAY));
|
AlarmClock.java | 110 c.set(Calendar.HOUR_OF_DAY, alarm.hour); 262 cal.set(Calendar.HOUR_OF_DAY, alarm.hour);
|
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/log/event/ |
DisplaySyncHistogram.java | 162 long hoursOfYear = calendar.get(Calendar.HOUR_OF_DAY) +
|
/frameworks/base/core/java/android/text/format/ |
DateFormat.java | 143 public static final char HOUR_OF_DAY = 'k'; 488 case HOUR_OF_DAY: 489 replacement = zeroPad(inDate.get(Calendar.HOUR_OF_DAY), count);
|
/packages/apps/Settings/src/com/android/settings/ |
DateTimeSettingsSetupWizard.java | 252 mTimePicker.setCurrentHour(now.get(Calendar.HOUR_OF_DAY)); 325 mTimePicker.setCurrentHour(now.get(Calendar.HOUR_OF_DAY));
|
DateTimeSettings.java | 246 calendar.get(Calendar.HOUR_OF_DAY), 276 calendar.get(Calendar.HOUR_OF_DAY), 355 c.set(Calendar.HOUR_OF_DAY, hourOfDay);
|
/frameworks/base/core/java/android/widget/ |
TimePicker.java | 242 setCurrentHour(mTempCalendar.get(Calendar.HOUR_OF_DAY)); 472 mTempCalendar.set(Calendar.HOUR_OF_DAY, getCurrentHour());
|
/cts/tools/host/src/com/android/cts/ |
HostUtils.java | 268 int hour = cal.get(Calendar.HOUR_OF_DAY);
|
/frameworks/base/telephony/java/com/android/internal/telephony/cat/ |
ResponseData.java | 232 data[4] = byteToBCD(calendar.get(java.util.Calendar.HOUR_OF_DAY));
|
/libcore/luni/src/main/java/java/text/ |
DateFormat.java | 194 * to the {@link Calendar#HOUR_OF_DAY} field. {@code HOUR_OF_DAY1_FIELD} is 202 * to the {@link Calendar#HOUR_OF_DAY} field. {@code HOUR_OF_DAY0_FIELD} is 761 public static final Field HOUR_OF_DAY0 = new Field("hour of day", Calendar.HOUR_OF_DAY);
|
SimpleDateFormat.java | 627 int hour = calendar.get(Calendar.HOUR_OF_DAY); 632 field = Calendar.HOUR_OF_DAY; [all...] |