Searched refs:MAX_MONTHS_OF_YEAR (Results 1 – 3 of 3) sorted by relevance
22 const uint8_t ReminderRequestCalendar::MAX_MONTHS_OF_YEAR = 12; member in OHOS::Notification::ReminderRequestCalendar195 for (uint8_t i = beginMonth; i < (MAX_MONTHS_OF_YEAR + beginMonth + 1); i++) { in GetNextTriggerTimeAsRepeatReminder()196 if ((repeatMonthTmp & (1 << ((i - 1) % MAX_MONTHS_OF_YEAR))) > 0) { in GetNextTriggerTimeAsRepeatReminder()197 setMonth = (i % MAX_MONTHS_OF_YEAR); in GetNextTriggerTimeAsRepeatReminder()303 if (repeatMonths.size() > MAX_MONTHS_OF_YEAR) { in SetRepeatMonths()304 …_LOGW("The length of repeat months array should not larger than %{public}hhu", MAX_MONTHS_OF_YEAR); in SetRepeatMonths()328 for (int32_t i = 0; i < MAX_MONTHS_OF_YEAR; i++) { in GetRepeatMonths()
143 static const uint8_t MAX_MONTHS_OF_YEAR; variable
512 ReminderRequestCalendar::MAX_MONTHS_OF_YEAR) == nullptr) { in CreateReminderCalendar()546 if ((month < 1) || (month > ReminderRequestCalendar::MAX_MONTHS_OF_YEAR)) { in CheckCalendarParams()548 ReminderAgentNapi::CALENDAR_MONTH, ReminderRequestCalendar::MAX_MONTHS_OF_YEAR); in CheckCalendarParams()