Class DayGridYearProperties

All Implemented Interfaces:
Serializable

public class DayGridYearProperties extends AbstractDayGridProperties
Configuration properties of day-grid year display mode CalendarDisplayModes.DAY_GRID_YEAR.

The properties can be retrieved from JmixFullCalendar.getCalendarDisplayModeProperties(CalendarDisplayModes). For instance:


 calendar.getCalendarDisplayModeProperties(CalendarDisplayModes.DAY_GRID_YEAR);
 
See Also:
  • Field Details

    • monthStartFormat

      protected String monthStartFormat
  • Constructor Details

    • DayGridYearProperties

      public DayGridYearProperties()
  • Method Details

    • getMonthStartFormat

      @Nullable public String getMonthStartFormat()
      Returns:
      the text format for the first cell of each month or null if not set
    • setMonthStartFormat

      public void setMonthStartFormat(@Nullable String format)
      Sets the format of the text format for the first cell of each month. By default, component sets localized format from messages when is created.

      The null value resets day format to FullCalendar's default.

      As component uses moment plugin for FullCalendar, we should follow the moment.js formatting rules: Moment.js Documentation

      For instance, the "MMMM" produces September (November, December, etc.).

      Parameters:
      format - format to set