Home
last modified time | relevance | path

Searched refs:hourOfDay (Results 1 – 9 of 9) sorted by relevance

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowTimePickerDialog.java16 private int hourOfDay; field in ShadowTimePickerDialog
24 int hourOfDay, in __constructor__() argument
27 this.hourOfDay = hourOfDay; in __constructor__()
34 ClassParameter.from(int.class, hourOfDay), in __constructor__()
40 return hourOfDay; in getHourOfDay()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DSimpleDateFormat.java2605 int hourOfDay; in parse() local
2608 hourOfDay = cal.get(Calendar.HOUR_OF_DAY); in parse()
2610 hourOfDay = cal.get(Calendar.HOUR); in parse()
2613 if (hourOfDay == 0) { hourOfDay = 12; } in parse()
2615 assert(0 <= hourOfDay && hourOfDay <= 23); in parse()
2619 if (hourOfDay == 0 || (13 <= hourOfDay && hourOfDay <= 23)) { in parse()
2621 cal.set(Calendar.HOUR_OF_DAY, hourOfDay); in parse()
2634 if (hourOfDay == 12) { hourOfDay = 0; } in parse()
2635 double currentHour = hourOfDay + cal.get(Calendar.MINUTE) / 60.0; in parse()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DSimpleDateFormat.java2590 int hourOfDay; in parse() local
2593 hourOfDay = cal.get(Calendar.HOUR_OF_DAY); in parse()
2595 hourOfDay = cal.get(Calendar.HOUR); in parse()
2598 if (hourOfDay == 0) { hourOfDay = 12; } in parse()
2600 assert(0 <= hourOfDay && hourOfDay <= 23); in parse()
2604 if (hourOfDay == 0 || (13 <= hourOfDay && hourOfDay <= 23)) { in parse()
2606 cal.set(Calendar.HOUR_OF_DAY, hourOfDay); in parse()
2619 if (hourOfDay == 12) { hourOfDay = 0; } in parse()
2620 double currentHour = hourOfDay + cal.get(Calendar.MINUTE) / 60.0; in parse()
/external/icu/icu4c/source/i18n/
Dsmpdtfmt.cpp2485 int hourOfDay; in parse() local
2488 hourOfDay = cal.get(UCAL_HOUR_OF_DAY, status); in parse()
2490 hourOfDay = cal.get(UCAL_HOUR, status); in parse()
2493 if (hourOfDay == 0) { hourOfDay = 12; } in parse()
2495 U_ASSERT(0 <= hourOfDay && hourOfDay <= 23); in parse()
2499 if (hourOfDay == 0 || (13 <= hourOfDay && hourOfDay <= 23)) { in parse()
2501 cal.set(UCAL_HOUR_OF_DAY, hourOfDay); in parse()
2514 if (hourOfDay == 12) { hourOfDay = 0; } in parse()
2515 double currentHour = hourOfDay + (cal.get(UCAL_MINUTE, status)) / 60.0; in parse()
/external/cronet/third_party/icu/source/i18n/
Dsmpdtfmt.cpp2485 int hourOfDay; in parse() local
2488 hourOfDay = cal.get(UCAL_HOUR_OF_DAY, status); in parse()
2490 hourOfDay = cal.get(UCAL_HOUR, status); in parse()
2493 if (hourOfDay == 0) { hourOfDay = 12; } in parse()
2495 U_ASSERT(0 <= hourOfDay && hourOfDay <= 23); in parse()
2499 if (hourOfDay == 0 || (13 <= hourOfDay && hourOfDay <= 23)) { in parse()
2501 cal.set(UCAL_HOUR_OF_DAY, hourOfDay); in parse()
2514 if (hourOfDay == 12) { hourOfDay = 0; } in parse()
2515 double currentHour = hourOfDay + (cal.get(UCAL_MINUTE, status)) / 60.0; in parse()
/external/gson/gson/src/main/java/com/google/gson/internal/bind/
DTypeAdapters.java638 int hourOfDay = 0;
651 hourOfDay = value;
659 return new GregorianCalendar(year, month, dayOfMonth, hourOfDay, minute, second);
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/test/
DTestMetazones.java723 …private static long getDateTimeinMillis(int year, int month, int date, int hourOfDay, int minute, … in getDateTimeinMillis() argument
725 cal.set(year, month, date, hourOfDay, minute, second); in getDateTimeinMillis()
DCheckDates.java735 …private static long getDateTimeinMillis(int year, int month, int date, int hourOfDay, int minute, … in getDateTimeinMillis() argument
737 cal.set(year, month, date, hourOfDay, minute, second); in getDateTimeinMillis()
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/tool/
DMisc.java388 …private static long getDateTimeinMillis(int year, int month, int date, int hourOfDay, int minute, … in getDateTimeinMillis() argument
390 cal.set(year, month, date, hourOfDay, minute, second); in getDateTimeinMillis()