Searched refs:hourOfDay (Results 1 – 5 of 5) sorted by relevance
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | SimpleDateFormat.java | 2605 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()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
D | SimpleDateFormat.java | 2582 int hourOfDay; in parse() local 2585 hourOfDay = cal.get(Calendar.HOUR_OF_DAY); in parse() 2587 hourOfDay = cal.get(Calendar.HOUR); in parse() 2590 if (hourOfDay == 0) { hourOfDay = 12; } in parse() 2592 assert(0 <= hourOfDay && hourOfDay <= 23); in parse() 2596 if (hourOfDay == 0 || (13 <= hourOfDay && hourOfDay <= 23)) { in parse() 2598 cal.set(Calendar.HOUR_OF_DAY, hourOfDay); in parse() 2611 if (hourOfDay == 12) { hourOfDay = 0; } in parse() 2612 double currentHour = hourOfDay + cal.get(Calendar.MINUTE) / 60.0; in parse()
|
/third_party/icu/icu4c/source/i18n/ |
D | smpdtfmt.cpp | 2485 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()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | smpdtfmt.cpp | 2437 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()
|
/third_party/node/deps/icu-small/source/i18n/ |
D | smpdtfmt.cpp | 2427 int hourOfDay; in parse() local 2430 hourOfDay = cal.get(UCAL_HOUR_OF_DAY, status); in parse() 2432 hourOfDay = cal.get(UCAL_HOUR, status); in parse() 2435 if (hourOfDay == 0) { hourOfDay = 12; } in parse() 2437 U_ASSERT(0 <= hourOfDay && hourOfDay <= 23); in parse() 2441 if (hourOfDay == 0 || (13 <= hourOfDay && hourOfDay <= 23)) { in parse() 2443 cal.set(UCAL_HOUR_OF_DAY, hourOfDay); in parse() 2456 if (hourOfDay == 12) { hourOfDay = 0; } in parse() 2457 double currentHour = hourOfDay + (cal.get(UCAL_MINUTE, status)) / 60.0; in parse()
|