Home
last modified time | relevance | path

Searched refs:IcuPatternDesc (Results 1 – 2 of 2) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/
Djs_date_time_format.h41 class IcuPatternDesc; variable
43 std::vector<IcuPatternDesc> BuildIcuPatternDescs();
44 std::vector<IcuPatternDesc> InitializePattern(const IcuPatternDesc &hourData);
46 using IcuPatternDescVect = std::vector<IcuPatternDesc>;
49 class IcuPatternDesc {
51 IcuPatternDesc(std::string property, const std::vector<IcuPatternEntry> &pairs, in IcuPatternDesc() function
60 virtual ~IcuPatternDesc() = default;
67 DEFAULT_COPY_SEMANTIC(IcuPatternDesc);
69 DEFAULT_NOEXCEPT_MOVE_SEMANTIC(IcuPatternDesc);
75IcuPatternDesc("hour", {{data1, "2-digit"}, {data2, "numeric"}}, {"2-digit", "numeric"}))) {} in Pattern()
[all …]
Djs_date_time_format.cpp381 std::vector<IcuPatternDesc> data = GetIcuPatternDesc(hc); in InitializeDateTimeFormat()
382 for (const IcuPatternDesc &item : data) { in InitializeDateTimeFormat()
1149 std::vector<IcuPatternDesc> BuildIcuPatternDescs() in BuildIcuPatternDescs()
1151 std::vector<IcuPatternDesc> items = { in BuildIcuPatternDescs()
1152 IcuPatternDesc("weekday", ICU_WEEKDAY_PE, ICU_NARROW_LONG_SHORT), in BuildIcuPatternDescs()
1153 IcuPatternDesc("era", ICU_ERA_PE, ICU_NARROW_LONG_SHORT), in BuildIcuPatternDescs()
1154 IcuPatternDesc("year", ICU_YEAR_PE, ICU2_DIGIT_NUMERIC), in BuildIcuPatternDescs()
1155 IcuPatternDesc("month", ICU_MONTH_PE, ICU_NARROW_LONG_SHORT2_DIGIT_NUMERIC), in BuildIcuPatternDescs()
1156 IcuPatternDesc("day", ICU_DAY_PE, ICU2_DIGIT_NUMERIC), in BuildIcuPatternDescs()
1157 IcuPatternDesc("dayPeriod", ICU_DAY_PERIOD_PE, ICU_NARROW_LONG_SHORT), in BuildIcuPatternDescs()
[all …]