Lines Matching refs:month
116 LV_ASSERT_FORMAT_MSG(newd.year >= 0 && newd.month >= 1 && newd.month <= 12, in month_event_cb()
117 "Invalid date: %d-%d", newd.year, newd.month); in month_event_cb()
121 if(newd.month == 1) { in month_event_cb()
122 newd.month = 12; in month_event_cb()
126 newd.month --; in month_event_cb()
130 if(newd.month == 12) { in month_event_cb()
131 newd.month = 1; in month_event_cb()
135 newd.month ++; in month_event_cb()
139 lv_calendar_set_month_shown(calendar, newd.year, newd.month); in month_event_cb()
142 lv_label_set_text_fmt(label, "%d %s", newd.year, month_names_def[newd.month - 1]); in month_event_cb()
151 LV_ASSERT_FORMAT_MSG(date->year >= 0 && date->month >= 1 && date->month <= 12, in value_changed_event_cb()
152 "Invalid date: %d-%d", date->year, date->month); in value_changed_event_cb()
155 lv_label_set_text_fmt(label, "%d %s", date->year, month_names_def[date->month - 1]); in value_changed_event_cb()