Class MonthlyCalendar

  • All Implemented Interfaces:
    WebCalendar

    public class MonthlyCalendar
    extends java.lang.Object
    implements WebCalendar

    MonthlyCalendar class.

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

      • MonthlyCalendar

        public MonthlyCalendar​(java.util.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.
      • getMonthAndYear

        public java.lang.String getMonthAndYear()

        getMonthAndYear

        Specified by:
        getMonthAndYear in interface WebCalendar
        Returns:
        a String object.
      • getWeeks

        public Week[] getWeeks()

        getWeeks

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

        public java.util.Date getNextMonth()

        getNextMonth

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

        public java.util.Date getPreviousMonth()

        getPreviousMonth

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