Searched refs:MAX_MONTH (Results 1 – 4 of 4) sorted by relevance
208 … return ((LUNAR_INFO[lunarYear - YEAR_START] & (0x10000u >> (month % MAX_MONTH))) != 0) ? 30 : 29; in GetLunarMonthDays()214 static constexpr uint32_t MAX_MONTH = 13; variable
43 constexpr uint32_t MAX_MONTH = 12; variable711 if (newMonth < 1 || newMonth > MAX_MONTH) { in HandleMonthKeyEvent()967 dateObj.SetMonth(dateObj.GetMonth() % MAX_MONTH + 1); in HandleAddButtonClick()986 if (dateObj.GetMonth() < MAX_MONTH) { in HandleAddButtonClick()1016 dateObj.SetMonth(MAX_MONTH); in HandleSubButtonClick()1035 dateObj.SetMonth(MAX_MONTH); in HandleSubButtonClick()
45 constexpr int32_t MAX_MONTH = 12; variable1131 if (calendarMonth.month + 1 > MAX_MONTH) { in GetNextMonth()1144 lastMonth.month = MAX_MONTH; in GetLastMonth()
43 constexpr uint32_t MAX_MONTH = 12; variable958 date.SetMonth(MAX_MONTH); in HandleSolarMonthDaysChange()1062 lunarDate.month = MAX_MONTH; // set to be previous year's max month in HandleReduceLunarMonthDaysChange()1864 for (uint32_t index = MIN_MONTH; index <= MAX_MONTH; ++index) { in SolarMonthDaysColumnsBuilding()