Class CalendarItemMonth

java.lang.Object
io.goobi.viewer.model.calendar.AbstractCalendarItem
io.goobi.viewer.model.calendar.CalendarItemMonth
All Implemented Interfaces:
ICalendarItem, Serializable, Comparable<ICalendarItem>

public class CalendarItemMonth extends AbstractCalendarItem implements Serializable
Calendar browsing item representing a single month.
See Also:
  • Constructor Details

    • CalendarItemMonth

      public CalendarItemMonth(String name, int value, int hits)
      Creates a new CalendarItemMonth instance.
      Parameters:
      name - display name of the month (e.g. "January").
      value - numeric month value (1-12).
      hits - number of records for this month.
  • Method Details

    • getDaysOfMonth

      public List<CalendarItemDay> getDaysOfMonth()
      Getter for the field daysOfMonth.
      Returns:
      list of calendar day items for this month.
    • setDaysOfMonth

      public void setDaysOfMonth(List<CalendarItemDay> daysOfMonth)
      Setter for the field daysOfMonth.
      Parameters:
      daysOfMonth - list of calendar day items to set.
    • getWeeksOfMonth

      public List<CalendarItemWeek> getWeeksOfMonth()
      Getter for the field weeksOfMonth.
      Returns:
      list of calendar week items for this month.
    • setWeeksOfMonth

      public void setWeeksOfMonth(List<CalendarItemWeek> weeksOfMonth)
      Setter for the field weeksOfMonth.
      Parameters:
      weeksOfMonth - list of calendar week items to set.
    • toString

      public String toString()
      Overrides:
      toString in class Object