Home
last modified time | relevance | path

Searched refs:START_YEAR (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/base/global/i18n/frameworks/intl/src/
H A Dlunar_calendar.cpp142 daysCounts = DAYS_OF_YEAR * (solorYear - START_YEAR); in CalcDaysFromBaseDate()
149 daysCounts += (solorYear - START_YEAR) / FREQ_LEAP_YEAR; in CalcDaysFromBaseDate()
166 for (i = START_YEAR; (tempDaysCounts > 0) && (i < END_YEAR); i++) { in SolorDateToLunarDate()
176 leapMonth = lunarDateInfo[lunarYear - START_YEAR] & 0xf; in SolorDateToLunarDate()
183 …daysInPerLunarMonth = ((lunarDateInfo[lunarYear - START_YEAR + 1] & 0xf) == 0xf) ? DAYS_IN_BIG_MON… in SolorDateToLunarDate()
186 daysInPerLunarMonth = ((lunarDateInfo[lunarYear - START_YEAR] & in SolorDateToLunarDate()
218 if ((lunarYear < START_YEAR) || (lunarYear > END_YEAR)) { in GetDaysPerLunarYear()
223 daysPerLunarYear += ((lunarDateInfo[lunarYear - START_YEAR] & i) == i) ? 1 : 0; in GetDaysPerLunarYear()
225 if (((lunarDateInfo[lunarYear - START_YEAR] & 0xf) != 0) && in GetDaysPerLunarYear()
226 ((lunarDateInfo[lunarYear - START_YEAR] & 0xf) != 0xf)) { in GetDaysPerLunarYear()
[all …]
/ohos5.0/base/telephony/telephony_data/common/include/
H A Dtime_util.h27 int START_YEAR = 1900; in FormatDate() local
29 int year = START_YEAR + ltm->tm_year; in FormatDate()
/ohos5.0/base/global/i18n/frameworks/intl/include/
H A Dlunar_calendar.h56 static const int32_t START_YEAR = 1900; variable
/ohos5.0/base/web/webview/ohos_adapter/ohos_resource_adapter/src/
H A Dohos_resource_adapter_impl.cpp60 constexpr uint32_t START_YEAR = 1900; variable
404 newTime.tm_year = ((modifiedDate >> TM_YEAR_BITS) & 0x7f) + START_YEAR; in GetRawFileLastModTime()
/ohos5.0/base/update/updater/services/package/pkg_package/
H A Dpkg_zipfile.cpp31 constexpr uint32_t START_YEAR = 1900; variable
710 …newTime.tm_year = ((modifiedDate >> TM_YEAR_BITS) & 0x7f) + START_YEAR; // 年,tm_year为int临时变量减去1900。 in CombineTimeAndDate()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/picker/
H A Ddate_picker_test_ng.cpp100 constexpr int32_t START_YEAR = 1980; variable
590 settingData.datePickerProperty["end"] = PickerDate(START_YEAR, CURRENT_DAY, 1);
3310 pickerDates.emplace_back(PickerDateF::CreateYear(START_YEAR));
3311 pickerDates.emplace_back(PickerDateF::CreateYear(START_YEAR));
3312 pickerDates.emplace_back(PickerDateF::CreateYear(START_YEAR));
3420 pickerDates.emplace_back(PickerDateF::CreateYear(START_YEAR));
3421 pickerDates.emplace_back(PickerDateF::CreateYear(START_YEAR));
3422 pickerDates.emplace_back(PickerDateF::CreateYear(START_YEAR));
5604 settingData.datePickerProperty["end"] = PickerDate(START_YEAR, CURRENT_DAY, 1);