Interface MonthData


public interface MonthData
Model class for data of a single month containing year, month, day data etc.
  • Method Details

    • getYear

      int getYear()
      Get the year of this month.
      Returns:
      the year of this month.
    • setYear

      void setYear(int year)
      Set the year of this month.
      Parameters:
      year - the new year.
    • getMonth

      Month getMonth()
      Get the Month.
      Returns:
      the Month.
    • setMonth

      void setMonth(Month month)
      Set a new Month.
      Parameters:
      month - the new Month.
    • getOvertimePreviousMonth

      Duration getOvertimePreviousMonth()
      Get the duration of the previous month's overtime.
      Returns:
      the duration of the previous month's overtime.
    • setOvertimePreviousMonth

      void setOvertimePreviousMonth(Duration overtimePreviousMonth)
      Set the duration of the previous month's overtime.
      Parameters:
      overtimePreviousMonth - the new duration of the previous month's overtime.
    • getDays

      List<DayData> getDays()
      Get the DayDatas in this month.
      Returns:
      the DayDatas in this month.
    • setDays

      void setDays(List<DayData> days)
      Set the DayDatas in this month.
      Parameters:
      days - the new DayDatas.