Lines Matching defs:hourCycle
401 // 13. Let hourCycle be ? GetOption(options, "hourCycle", "string", « "h11", "h12", "h23", "h24" », undefined).
402 auto hourCycle = JSLocale::GetOptionOfString<HourCycleOption>(
409 // a. Let hourCycle be null.
411 hourCycle = HourCycleOption::UNDEFINED;
469 // 36.a. Let hcDefault be dataLocaleData.[[hourCycle]].
483 HourCycleOption hc = hourCycle;
484 if (hourCycle == HourCycleOption::UNDEFINED
608 // Set dateTimeFormat.[[hourCycle]].
664 if (!hour12->IsUndefined() || hourCycle != HourCycleOption::UNDEFINED) {
1100 // [[HourCycle]] "hourCycle"
1168 // For web compatibility reasons, if the property "hourCycle" is set, the "hour12" property should be set to true
1169 // when "hourCycle" is "h11" or "h12", or to false when "hourCycle" is "h23" or "h24".
1459 std::vector<IcuPatternDesc> JSDateTimeFormat::GetIcuPatternDesc(const HourCycleOption &hourCycle)
1461 if (hourCycle == HourCycleOption::H11) {
1464 } else if (hourCycle == HourCycleOption::H12) {
1467 } else if (hourCycle == HourCycleOption::H23) {
1470 } else if (hourCycle == HourCycleOption::H24) {
1473 } else if (hourCycle == HourCycleOption::UNDEFINED) {