Home
last modified time | relevance | path

Searched refs:HourCycleOption (Results 1 – 3 of 3) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/
Djs_date_time_format.cpp76 const std::map<char16_t, HourCycleOption> HOUR_CYCLE_MAP = {
77 {'K', HourCycleOption::H11},
78 {'h', HourCycleOption::H12},
79 {'H', HourCycleOption::H23},
80 {'k', HourCycleOption::H24}
82 const std::map<std::string, HourCycleOption> TO_HOUR_CYCLE_MAP = {
83 {"h11", HourCycleOption::H11},
84 {"h12", HourCycleOption::H12},
85 {"h23", HourCycleOption::H23},
86 {"h24", HourCycleOption::H24}
[all …]
Djs_date_time_format.h25 enum class HourCycleOption : uint8_t { H11 = 0x01, H12, H23, H24, UNDEFINED, EXCEPTION }; enum
108 FIRST_BIT_FIELD(BitField, HourCycle, HourCycleOption, HONOR_CYCLE_BITS)
165 static HourCycleOption OptionToHourCycle(const std::string &hc);
170 static HourCycleOption OptionToHourCycle(UDateFormatHourCycle hc);
172 static std::string ToHourCycleString(HourCycleOption hc);
191 static std::vector<IcuPatternDesc> GetIcuPatternDesc(const HourCycleOption &hourCycle);
196 HourCycleOption hc);
200 …c icu::UnicodeString ChangeHourCyclePattern(const icu::UnicodeString &pattern, HourCycleOption hc);
Dobject_factory.cpp948 JSDateTimeFormat::Cast(*obj)->SetHourCycle(HourCycleOption::EXCEPTION); in InitializeJSObject()