Home
last modified time | relevance | path

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

/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_MONTH : 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] in GetDaysPerLunarYear()
[all...]
/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()
/base/global/i18n/frameworks/intl/include/
H A Dlunar_calendar.h56 static const int32_t START_YEAR = 1900; member in OHOS::Global::I18n::LunarCalendar
/base/web/webview/ohos_adapter/ohos_resource_adapter/src/
H A Dohos_resource_adapter_impl.cpp60 constexpr uint32_t START_YEAR = 1900; member
404 newTime.tm_year = ((modifiedDate >> TM_YEAR_BITS) & 0x7f) + START_YEAR; in GetRawFileLastModTime()
/base/update/updater/services/package/pkg_package/
H A Dpkg_zipfile.cpp31 constexpr uint32_t START_YEAR = 1900; member
710 newTime.tm_year = ((modifiedDate >> TM_YEAR_BITS) & 0x7f) + START_YEAR; // 年,tm_year为int临时变量减去1900。 in CombineTimeAndDate()

Completed in 4 milliseconds