Class MonthlyCalendar

  • All Implemented Interfaces:
    WebCalendar

    public class MonthlyCalendar
    extends Object
    implements WebCalendar

    MonthlyCalendar class.

    Since:
    1.8.1
    Version:
    $Id: $
    Author:
    ranger
    • Constructor Detail

      • MonthlyCalendar

        public MonthlyCalendar​(Date date,
                               Role role,
                               GroupManager groupManager)

        Constructor for MonthlyCalendar.

        Parameters:
        date - a java$util$Date object.
        role - a Role object.
        groupManager - a GroupManager object.
    • Method Detail

      • getMonth

        public int getMonth()

        getMonth

        Returns:
        a int.
      • getWeeks

        public Week[] getWeeks()

        getWeeks

        Specified by:
        getWeeks in interface WebCalendar
        Returns:
        an array of org.opennms.web.admin.roles.Week objects.
      • getNextMonth

        public Date getNextMonth()

        getNextMonth

        Specified by:
        getNextMonth in interface WebCalendar
        Returns:
        a java$util$Date object.
      • getPreviousMonth

        public Date getPreviousMonth()

        getPreviousMonth

        Specified by:
        getPreviousMonth in interface WebCalendar
        Returns:
        a java$util$Date object.