Class Recurrence


  • public class Recurrence
    extends java.lang.Object
    Repeated occurrence of an event in a time range.
    • Constructor Detail

      • Recurrence

        public Recurrence()
    • Method Detail

      • endTime

        public Recurrence endTime​(org.threeten.bp.OffsetDateTime endTime)
      • getEndTime

        public org.threeten.bp.OffsetDateTime getEndTime()
        End time of the recurrence.
        Returns:
        endTime
      • setEndTime

        public void setEndTime​(org.threeten.bp.OffsetDateTime endTime)
      • getDaysOfWeek

        public java.util.List<DayOfWeek> getDaysOfWeek()
        Days of the week when recurrence is valid. If the schedule is valid every Monday, input will only contain `MONDAY` in the list.
        Returns:
        daysOfWeek
      • setDaysOfWeek

        public void setDaysOfWeek​(java.util.List<DayOfWeek> daysOfWeek)
      • daysOfMonth

        public Recurrence daysOfMonth​(java.util.List<java.lang.Integer> daysOfMonth)
      • addDaysOfMonthItem

        public Recurrence addDaysOfMonthItem​(java.lang.Integer daysOfMonthItem)
      • getDaysOfMonth

        public java.util.List<java.lang.Integer> getDaysOfMonth()
        Days of the month when recurrence is valid.
        Returns:
        daysOfMonth
      • setDaysOfMonth

        public void setDaysOfMonth​(java.util.List<java.lang.Integer> daysOfMonth)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object