org.opennms.web.admin.roles
Class MonthlyCalendar

java.lang.Object
  extended by org.opennms.web.admin.roles.AbstractWebCalendar
      extended by org.opennms.web.admin.roles.MonthlyCalendar
All Implemented Interfaces:
WebCalendar

public class MonthlyCalendar
extends AbstractWebCalendar

MonthlyCalendar class.

Since:
1.8.1
Version:
$Id: $
Author:
ranger

Constructor Summary
MonthlyCalendar(Date date, Role role, GroupManager groupManager)
          Constructor for MonthlyCalendar.
 
Method Summary
 int getMonth()
          getMonth
 String getMonthAndYear()
          getMonthAndYear
 Date getNextMonth()
          getNextMonth
 Date getPreviousMonth()
          getPreviousMonth
 Week[] getWeeks()
          getWeeks
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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.

getMonthAndYear

public String getMonthAndYear()

getMonthAndYear

Specified by:
getMonthAndYear in interface WebCalendar
Specified by:
getMonthAndYear in class AbstractWebCalendar
Returns:
a String object.

getWeeks

public Week[] getWeeks()

getWeeks

Specified by:
getWeeks in interface WebCalendar
Specified by:
getWeeks in class AbstractWebCalendar
Returns:
an array of Week objects.

getNextMonth

public Date getNextMonth()

getNextMonth

Specified by:
getNextMonth in interface WebCalendar
Specified by:
getNextMonth in class AbstractWebCalendar
Returns:
a java$util$Date object.

getPreviousMonth

public Date getPreviousMonth()

getPreviousMonth

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


Copyright © 2011. All Rights Reserved.