Interface MonitorUserDocument.IMonitorDateTimeField

  • Enclosing class:
    MonitorUserDocument

    public static interface MonitorUserDocument.IMonitorDateTimeField
    Contains data in a MonitorUserDocument that corresponds to parts of date time.
    Since:
    11.0.0
    Version:
    $Revision$ $Date$
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.Date getDatetime()
      Returns the value of date time stored in this document.
      long getDayofmonth()
      Returns the value of day of month stored in this document.
      long getDayofweek()
      Returns the value of day of week stored in this document.
      long getMonth()
      Returns the value of month stored in this document.
      long getQuarter()
      Returns the value of quarter stored in this document.
      long getTimeofday()
      Returns the value of time of day stored in this document.
      long getYear()
      Returns the value of year stored in this document.
      void setDatetime​(java.util.Date dateTime)
      Sets the value for date time in this document.
      void setDayofmonth​(long dayOfMonth)
      Sets the value for day of month in this document.
      void setDayofweek​(long dayOfWeek)
      Sets the value for day of week in this document.
      void setMonth​(long month)
      Sets the value for month in this document.
      void setQuarter​(long quarter)
      Sets the value for quarter in this document.
      void setTimeofday​(long timeOfDay)
      Sets the value for time of day in this document.
      void setYear​(long year)
      Sets the value for year in this document.
    • Method Detail

      • getDatetime

        java.util.Date getDatetime()
        Returns the value of date time stored in this document.
        Returns:
        the value of date time.
        Since:
        11.0.0
      • setDatetime

        void setDatetime​(java.util.Date dateTime)
        Sets the value for date time in this document.
        Parameters:
        dateTime - the date time.
        Since:
        11.0.0
      • getTimeofday

        long getTimeofday()
        Returns the value of time of day stored in this document.
        Returns:
        the value of time of day.
        Since:
        11.0.0
      • setTimeofday

        void setTimeofday​(long timeOfDay)
        Sets the value for time of day in this document.
        Parameters:
        timeOfDay - the time of day.
        Since:
        11.0.0
      • getDayofweek

        long getDayofweek()
        Returns the value of day of week stored in this document.
        Returns:
        the value of day of week.
        Since:
        11.0.0
      • getDayofmonth

        long getDayofmonth()
        Returns the value of day of month stored in this document.
        Returns:
        the value of day of month stored in this document.
        Since:
        12.2.0
      • getMonth

        long getMonth()
        Returns the value of month stored in this document.
        Returns:
        the value of month stored in this document.
        Since:
        12.2.0
      • getQuarter

        long getQuarter()
        Returns the value of quarter stored in this document.
        Returns:
        the value of quarter stored in this document.
        Since:
        12.2.0
      • getYear

        long getYear()
        Returns the value of year stored in this document.
        Returns:
        the value of year stored in this document.
        Since:
        12.2.0
      • setDayofweek

        void setDayofweek​(long dayOfWeek)
        Sets the value for day of week in this document.
        Parameters:
        dayOfWeek - the day of week.
        Since:
        11.0.0
      • setDayofmonth

        void setDayofmonth​(long dayOfMonth)
        Sets the value for day of month in this document.
        Parameters:
        dayOfMonth - the day of month.
        Since:
        12.2.0
      • setMonth

        void setMonth​(long month)
        Sets the value for month in this document.
        Parameters:
        month - the month.
        Since:
        12.2.0
      • setQuarter

        void setQuarter​(long quarter)
        Sets the value for quarter in this document.
        Parameters:
        quarter - the quarter.
        Since:
        12.2.0
      • setYear

        void setYear​(long year)
        Sets the value for year in this document.
        Parameters:
        year - the year.
        Since:
        12.2.0