Home
last modified time | relevance | path

Searched refs:I18nCalendar (Results 1 – 7 of 7) sorted by relevance

/base/global/i18n/frameworks/intl/src/
Di18n_calendar.cpp42 I18nCalendar::I18nCalendar(std::string localeTag) in I18nCalendar() function in OHOS::Global::I18n::I18nCalendar
65 I18nCalendar::I18nCalendar(std::string localeTag, CalendarType type) in I18nCalendar() function in OHOS::Global::I18n::I18nCalendar
82 void I18nCalendar::InitCalendar(const icu::Locale &locale, CalendarType type) in InitCalendar()
126 void I18nCalendar::InitCalendar2(const icu::Locale &locale, CalendarType type, UErrorCode &status) in InitCalendar2()
155 I18nCalendar::~I18nCalendar() in ~I18nCalendar()
162 void I18nCalendar::SetTime(double value) in SetTime()
171 void I18nCalendar::SetTimeZone(std::string id) in SetTimeZone()
184 std::string I18nCalendar::GetTimeZone(void) in GetTimeZone()
195 void I18nCalendar::Set(int32_t year, int32_t month, int32_t date) in Set()
203 void I18nCalendar::Set(UCalendarDateFields field, int32_t value) in Set()
[all …]
/base/global/i18n/frameworks/intl/include/
Di18n_calendar.h46 class I18nCalendar {
48 explicit I18nCalendar(std::string localeTag);
49 I18nCalendar(std::string localeTag, CalendarType type);
50 virtual ~I18nCalendar();
/base/global/i18n/frameworks/intl/test/fuzztest/calendar_fuzzer/
Dcalendar_fuzzer.cpp33 I18nCalendar calendar(input, CalendarType::GREGORY); in DoSomethingInterestingWithMyAPI()
/base/global/i18n/frameworks/intl/test/unittest/
Dintl_test_extent.cpp172 I18nCalendar *calendar = new I18nCalendar("zh-Hans-CN");
173 I18nCalendar *calendar2 = new I18nCalendar("zh-Hans-CN", CalendarType::CHINESE);
186 I18nCalendar *calendarFake = new I18nCalendar("123");
187 I18nCalendar *calendarInvalid = new I18nCalendar("123", CalendarType::CHINESE);
Di18n_test.cpp203 I18nCalendar buddhistCalendar("zh-Hans", CalendarType::BUDDHIST);
207 I18nCalendar chineseCalendar("zh-Hans", CalendarType::CHINESE);
211 I18nCalendar copticCalendar("zh-Hans", CalendarType::COPTIC);
215 I18nCalendar ethiopicCalendar("zh-Hans", CalendarType::ETHIOPIC);
220 I18nCalendar hebrewCalendar("zh-Hans", CalendarType::HEBREW);
224 I18nCalendar gregoryCalendar("zh-Hans", CalendarType::GREGORY);
228 I18nCalendar indianCalendar("zh-Hans", CalendarType::INDIAN);
232 I18nCalendar islamicCivilCalendar("zh-Hans", CalendarType::ISLAMIC_CIVIL);
236 I18nCalendar islamicTblaCalendar("zh-Hans", CalendarType::ISLAMIC_TBLA);
240 I18nCalendar islamicUmalquraCalendar("zh-Hans", CalendarType::ISLAMIC_UMALQURA);
[all …]
/base/global/i18n/interfaces/js/kits/include/
Di18n_calendar_addon.h61 std::unique_ptr<I18nCalendar> calendar_ = nullptr;
/base/global/i18n/interfaces/js/kits/src/
Di18n_calendar_addon.cpp695 calendar_ = std::make_unique<I18nCalendar>(localeTag, type); in InitCalendarContext()