Class Day


  • public class Day
    extends java.lang.Object

    Day class.

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

      • Day

        public Day​(java.util.Date date,
                   Role role,
                   GroupManager groupManager)

        Constructor for Day.

        Parameters:
        date - a java$util$Date object.
        role - a Role object.
        groupManager - a GroupManager 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.