Home
last modified time | relevance | path

Searched refs:lunarYear (Results 1 - 2 of 2) sorted by relevance

/base/global/i18n/frameworks/intl/src/
H A Dlunar_calendar.cpp174 lunarYear = 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()
215 int32_t LunarCalendar::GetDaysPerLunarYear(int32_t lunarYear) in GetDaysPerLunarYear() argument
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 in GetDaysPerLunarYear()
[all...]
/base/global/i18n/frameworks/intl/include/
H A Dlunar_calendar.h45 int32_t GetDaysPerLunarYear(int32_t lunarYear);
69 int32_t lunarYear = -1; member in OHOS::Global::I18n::LunarCalendar

Completed in 1 milliseconds