Package org.opennms.netmgt.config
Class Day
- java.lang.Object
-
- org.opennms.netmgt.config.Day
-
public class Day extends java.lang.Object
Day class.
- Since:
- 1.8.1
- Version:
- $Id: $
- Author:
- ranger
-
-
Constructor Summary
Constructors Constructor Description Day(java.util.Date date, Role role, GroupManager groupManager)
Constructor for Day.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Date
getDate()
getDateint
getDayOfMonth()
getDayOfMonthjava.lang.String
getDayOfWeek()
getDayOfWeekint
getDayOfYear()
getDayOfYearCalendarEntry[]
getEntries()
getEntriesint
getMonth()
getMonthjava.util.Date
getTime(int hours, int minutes)
getTime
-
-
-
Constructor Detail
-
Day
public Day(java.util.Date date, Role role, GroupManager groupManager)
Constructor for Day.
- Parameters:
date
- a java$util$Date object.role
- aRole
object.groupManager
- aGroupManager
object.
-
-
Method Detail
-
getDate
public java.util.Date getDate()
getDate
- Returns:
- a java$util$Date object.
-
getMonth
public int getMonth()
getMonth
- Returns:
- a int.
-
getDayOfMonth
public int getDayOfMonth()
getDayOfMonth
- Returns:
- a int.
-
getDayOfYear
public int getDayOfYear()
getDayOfYear
- Returns:
- a int.
-
getDayOfWeek
public java.lang.String getDayOfWeek()
getDayOfWeek
- Returns:
- a
String
object.
-
getTime
public java.util.Date getTime(int hours, int minutes)
getTime
- Parameters:
hours
- a int.minutes
- a int.- Returns:
- a java$util$Date object.
-
getEntries
public CalendarEntry[] getEntries()
getEntries
- Returns:
- an array of
org.opennms.web.admin.roles.CalendarEntry
objects.
-
-