Searched refs:CommonDateFormatPart (Results 1 – 1 of 1) sorted by relevance
| /arkcompiler/ets_runtime/ecmascript/ |
| D | js_date_time_format.cpp | 29 struct CommonDateFormatPart { struct 36 CommonDateFormatPart() = default; 37 …CommonDateFormatPart(int32_t fField, int32_t fBeginIndex, int32_t fEndIndex, int32_t index, bool i… in CommonDateFormatPart() function 42 ~CommonDateFormatPart() = default; 44 DEFAULT_COPY_SEMANTIC(CommonDateFormatPart); 45 DEFAULT_MOVE_SEMANTIC(CommonDateFormatPart); 699 std::vector<CommonDateFormatPart> parts; in FormatDateTimeToParts() 706 parts.emplace_back(CommonDateFormatPart(fField, preEdgePos, fBeginIndex, index, true)); in FormatDateTimeToParts() 709 parts.emplace_back(CommonDateFormatPart(fField, fBeginIndex, fEndIndex, index, false)); in FormatDateTimeToParts() 715 parts.emplace_back(CommonDateFormatPart(-1, preEdgePos, length, index, true)); in FormatDateTimeToParts() [all …]
|