Home
last modified time | relevance | path

Searched full:today (Results 1 – 15 of 15) sorted by relevance

/lvgl-latest/tests/src/test_cases/widgets/
Dtest_calendar.c47 /* Work with 2022-09-21 as today (start of spring in Southern hemisphere) */ in test_calendar_set_today_date()
48 lv_calendar_date_t today; in test_calendar_set_today_date() local
49 today.year = 2022; in test_calendar_set_today_date()
50 today.month = 9; in test_calendar_set_today_date()
51 today.day = 21; in test_calendar_set_today_date()
53 lv_calendar_set_today_date(g_calendar, today.year, today.month, today.day); in test_calendar_set_today_date()
57 TEST_ASSERT_EQUAL_INT16(today.year, date_after_test->year); in test_calendar_set_today_date()
58 TEST_ASSERT_EQUAL_INT16(today.month, date_after_test->month); in test_calendar_set_today_date()
59 TEST_ASSERT_EQUAL_INT16(today.day, date_after_test->day); in test_calendar_set_today_date()
64 /* Work with 2022-09-21 as today (start of spring in Southern hemisphere) */ in test_calendar_set_today_date_gui()
[all …]
/lvgl-latest/src/widgets/calendar/
Dlv_calendar_chinese.c119 lv_calendar_set_month_shown(obj, calendar->today.year, calendar->today.month); in lv_calendar_set_chinese_mode()
133 if((chinese_calendar.today.month == festivals_base_chinese[i].month) && in lv_calendar_get_day_name()
134 (chinese_calendar.today.day == festivals_base_chinese[i].day) && in lv_calendar_get_day_name()
136 if(chinese_calendar.today.month == 12 && chinese_calendar.today.day == 29) { in lv_calendar_get_day_name()
137 if((calendar_chinese_table[chinese_calendar.today.year - 1901] & 0xf00000) != 0) { in lv_calendar_get_day_name()
138 … if((calendar_chinese_table[chinese_calendar.today.year - 1901] & 0x000080) == 0) { in lv_calendar_get_day_name()
143 … if((calendar_chinese_table[chinese_calendar.today.year - 1901] & 0x000100) == 0) { in lv_calendar_get_day_name()
161 if(chinese_calendar.today.day == 1) { in lv_calendar_get_day_name()
163 return chinese_calendar_month_name[chinese_calendar.today.month - 1]; in lv_calendar_get_day_name()
165 return chinese_calendar_leep_month_name[chinese_calendar.today.month - 1]; in lv_calendar_get_day_name()
[all …]
Dlv_calendar.c100 calendar->today.year = year; in lv_calendar_set_today_date()
101 calendar->today.month = month; in lv_calendar_set_today_date()
102 calendar->today.day = day; in lv_calendar_set_today_date()
231 return &calendar->today; in lv_calendar_get_today_date()
293 calendar->today.year = 2024; in lv_calendar_constructor()
294 calendar->today.month = 1; in lv_calendar_constructor()
295 calendar->today.day = 1; in lv_calendar_constructor()
336 … lv_calendar_set_today_date(obj, calendar->today.year, calendar->today.month, calendar->today.day); in lv_calendar_constructor()
453 …if(calendar->showed_date.year == calendar->today.year && calendar->showed_date.month == calendar-> in highlight_update()
454 …lv_buttonmatrix_set_button_ctrl(calendar->btnm, calendar->today.day - 1 + day_first + 7, LV_CALEND… in highlight_update()
Dlv_calendar.h59 * Set the today's date
61 * @param year today's year
62 * @param month today's month [1..12]
63 * @param day today's day [1..31]
70 * @param year today's year
71 * @param month today's month [1..12]
106 * Get the today's date
108 * @return return pointer to an `lv_calendar_date_t` variable containing the date of today.
Dlv_calendar_private.h35 lv_calendar_date_t today; /**< Date of today */ member
Dlv_calendar_chinese.h29 lv_calendar_date_t today; member
/lvgl-latest/demos/ebike/translations/
Dlv_i18n.c72 {"Distance today", "المسافة اليوم"},
73 {"Speed today", "السرعة اليوم"},
74 {"Time today", "الوقت اليوم"},
117 {"Distance today", "今日距离"},
118 {"Speed today", "今天的速度"},
119 {"Time today", "今天时间"},
Den.yml6 Distance today: ~
7 Speed today: ~
8 Time today: ~
Dzh.yml6 Distance today: 今日距离
7 Speed today: 今天的速度
8 Time today: 今天时间
Dar.yml6 Distance today: المسافة اليوم
7 Speed today: السرعة اليوم
8 Time today: الوقت اليوم
/lvgl-latest/docs/details/widgets/
Dcalendar.rst14 - highlight the current day (today);
42 …- today has a thicker border with the theme's primary color - highlighted days have some opacity w…
56 To set the current date (today), use the
/lvgl-latest/demos/ebike/
Dlv_demo_ebike_home.c453 card_labels_create(dist, "16.4", "km", _("Distance today")); in right_cont_create()
454 card_labels_create(dist, "20.1", "km/h", _("Speed today")); in right_cont_create()
455 card_labels_create(dist, "43:12", "", _("Time today")); in right_cont_create()
/lvgl-latest/docs/details/integration/chip/
Dnxp.rst22 today and get started with your next GUI application. It comes fully configured
/lvgl-latest/src/libs/expat/
Dexpat.h256 against RFC 3986 today (and is not required to do so with regard to
Dxmlparse.c3966 // today (and is not REQUIRED to do so with regard to the XML 1.0 in addBinding()