Home
last modified time | relevance | path

Searched refs:MAX_MONTHS_OF_YEAR (Results 1 - 3 of 3) sorted by relevance

/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dreminder_request_calendar.cpp441 for (uint8_t i = beginMonth; i < (MAX_MONTHS_OF_YEAR + beginMonth + 1); i++) { in GetNextTriggerTimeAsRepeatReminder()
442 if ((repeatMonthTmp & (1 << ((i - 1) % MAX_MONTHS_OF_YEAR))) > 0) { in GetNextTriggerTimeAsRepeatReminder()
443 setMonth = (i % MAX_MONTHS_OF_YEAR); in GetNextTriggerTimeAsRepeatReminder()
530 if (month > MAX_MONTHS_OF_YEAR) { in IsRepeatMonth()
570 if (repeatMonths.size() > MAX_MONTHS_OF_YEAR) { in SetRepeatMonths()
571 ANSR_LOGW("The length of repeat months array should not larger than %{public}hhu", MAX_MONTHS_OF_YEAR); in SetRepeatMonths()
595 for (int32_t i = 0; i < MAX_MONTHS_OF_YEAR; i++) { in GetRepeatMonths()
/base/notification/distributed_notification_service/interfaces/inner_api/
H A Dreminder_request_calendar.h317 static constexpr uint8_t MAX_MONTHS_OF_YEAR = 12; member in OHOS::Notification::ReminderRequestCalendar
/base/notification/distributed_notification_service/frameworks/js/napi/src/reminder/
H A Dreminder_common.cpp878 if ((month < 1) || (month > ReminderRequestCalendar::MAX_MONTHS_OF_YEAR)) { in CheckCalendarParams()
880 ReminderAgentNapi::CALENDAR_MONTH, ReminderRequestCalendar::MAX_MONTHS_OF_YEAR); in CheckCalendarParams()
909 ReminderRequestCalendar::MAX_MONTHS_OF_YEAR) == nullptr) { in ParseCalendarParams()

Completed in 5 milliseconds