# lv_calendar_private.h (/api/private/widgets/calendar/lv_calendar_private_h)



<RelatedHeaders name="lv_calendar.h" isPrivate="true" />

<ApiSummary structs="1" />

Structs [#structs]

<ApiMember kind="struct" name="_lv_calendar_t">
  \_lv_calendar_t [#_lv_calendar_t]

  Data of calendar

  | Member                  | Type                                                                 | Description                                                                                                                                                                            |
  | ----------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | `obj`                   | <ApiLink name="lv_obj_t" />                                          |                                                                                                                                                                                        |
  | `btnm`                  | <ApiLink name="lv_obj_t" display="lv_obj_t *" />                     |                                                                                                                                                                                        |
  | `today`                 | <ApiLink name="lv_calendar_date_t" />                                | Date of today                                                                                                                                                                          |
  | `showed_date`           | <ApiLink name="lv_calendar_date_t" />                                | Currently visible month (day is ignored)                                                                                                                                               |
  | `highlighted_dates`     | <ApiLink name="lv_calendar_date_t" display="lv_calendar_date_t *" /> | Apply different style on these days (pointer to user-defined array)                                                                                                                    |
  | `highlighted_dates_num` | <ApiLink name="size_t" />                                            | Number of elements in `highlighted_days`                                                                                                                                               |
  | `map`                   | `const char *[8 *7]`                                                 |                                                                                                                                                                                        |
  | `use_chinese_calendar`  | <ApiLink name="bool" />                                              |                                                                                                                                                                                        |
  | `nums`                  | `char[7 *6][20]`                                                     | 7 \* 6: A week has 7 days, and the calendar displays 6 weeks in total. 20: Including the number of dates, line breaks, names for each day, and reserving several spaces for addresses. |
</ApiMember>

Dependencies [#dependencies]

<FileIncludes includes="[&#x22;lv_obj_private.h&#x22;, &#x22;lvgl_public.h&#x22;]" includedBy="[&#x22;lvgl_private.h&#x22;]" transitiveIncludes="[&#x22;lv_array.h&#x22;, &#x22;lv_event_private.h&#x22;]" />
