Home
last modified time | relevance | path

Searched refs:isShortType (Results 1 - 5 of 5) sorted by relevance

/foundation/arkui/ace_engine/test/mock/base/
H A Dmock_localization.cpp91 std::vector<std::string> Localization::GetMonths(bool isShortType, const std::string& calendarType) in GetMonths() argument
136 std::vector<std::string> Localization::GetWeekdays(bool isShortType) in GetWeekdays() argument
/foundation/arkui/ace_engine/frameworks/base/i18n/
H A Dlocalization.h173 * @param isShortType The month style.
177 std::vector<std::string> GetMonths(bool isShortType = false, const std::string& calendarType = "");
181 * @param isShortType The weekday style.
184 std::vector<std::string> GetWeekdays(bool isShortType = false);
H A Dlocalization.cpp479 std::vector<std::string> Localization::GetMonths(bool isShortType, const std::string& calendarType) in GetMonths() argument
490 isShortType ? DateFormatSymbols::DtWidthType::SHORT : DateFormatSymbols::DtWidthType::WIDE); in GetMonths()
502 std::vector<std::string> Localization::GetWeekdays(bool isShortType) in GetWeekdays() argument
513 auto widthType = isShortType ? (strcmp(language, "zh") == 0 || strcmp(language, "bo") == 0) in GetWeekdays()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_clock/
H A Dtext_clock_pattern.h150 static std::string GetWeek(const bool& isShortType, const int32_t& week);
H A Dtext_clock_pattern.cpp664 // isShortType: false:full type week, true:short type week
665 std::string TextClockPattern::GetWeek(const bool& isShortType, const int32_t& week) in GetWeek() argument
668 std::vector<std::string> weeks = Localization::GetInstance()->GetWeekdays(isShortType); in GetWeek()
672 if ((strcmp(language.c_str(), "zh") == 0) && isShortType) { in GetWeek()

Completed in 6 milliseconds