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/
Dreminder_request_calendar.cpp22 const uint8_t ReminderRequestCalendar::MAX_MONTHS_OF_YEAR = 12; member in OHOS::Notification::ReminderRequestCalendar
195 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()
/base/notification/distributed_notification_service/interfaces/inner_api/
Dreminder_request_calendar.h143 static const uint8_t MAX_MONTHS_OF_YEAR; variable
/base/notification/distributed_notification_service/frameworks/js/napi/src/reminder/
Dreminder_common.cpp512 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()