Home
last modified time | relevance | path

Searched refs:hourOfDay (Results 1 – 7 of 7) 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.java2604 int hourOfDay; in parse() local
2607 hourOfDay = cal.get(Calendar.HOUR_OF_DAY); in parse()
2609 hourOfDay = cal.get(Calendar.HOUR); in parse()
2612 if (hourOfDay == 0) { hourOfDay = 12; } in parse()
2614 assert(0 <= hourOfDay && hourOfDay <= 23); in parse()
2618 if (hourOfDay == 0 || (13 <= hourOfDay && hourOfDay <= 23)) { in parse()
2620 cal.set(Calendar.HOUR_OF_DAY, hourOfDay); in parse()
2633 if (hourOfDay == 12) { hourOfDay = 0; } in parse()
2634 double currentHour = hourOfDay + cal.get(Calendar.MINUTE) / 60.0; in parse()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DSimpleDateFormat.java2589 int hourOfDay; in parse() local
2592 hourOfDay = cal.get(Calendar.HOUR_OF_DAY); in parse()
2594 hourOfDay = cal.get(Calendar.HOUR); in parse()
2597 if (hourOfDay == 0) { hourOfDay = 12; } in parse()
2599 assert(0 <= hourOfDay && hourOfDay <= 23); in parse()
2603 if (hourOfDay == 0 || (13 <= hourOfDay && hourOfDay <= 23)) { in parse()
2605 cal.set(Calendar.HOUR_OF_DAY, hourOfDay); in parse()
2618 if (hourOfDay == 12) { hourOfDay = 0; } in parse()
2619 double currentHour = hourOfDay + cal.get(Calendar.MINUTE) / 60.0; in parse()
/external/icu/icu4c/source/i18n/
Dsmpdtfmt.cpp2437 int hourOfDay; in parse() local
2440 hourOfDay = cal.get(UCAL_HOUR_OF_DAY, status); in parse()
2442 hourOfDay = cal.get(UCAL_HOUR, status); in parse()
2445 if (hourOfDay == 0) { hourOfDay = 12; } in parse()
2447 U_ASSERT(0 <= hourOfDay && hourOfDay <= 23); in parse()
2451 if (hourOfDay == 0 || (13 <= hourOfDay && hourOfDay <= 23)) { in parse()
2453 cal.set(UCAL_HOUR_OF_DAY, hourOfDay); in parse()
2466 if (hourOfDay == 12) { hourOfDay = 0; } in parse()
2467 double currentHour = hourOfDay + (cal.get(UCAL_MINUTE, status)) / 60.0; in parse()
/external/cldr/tools/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.java691 …private static long getDateTimeinMillis(int year, int month, int date, int hourOfDay, int minute, … in getDateTimeinMillis() argument
693 cal.set(year, month, date, hourOfDay, minute, second); in getDateTimeinMillis()
/external/cldr/tools/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()