Class ByMonthDay

All Implemented Interfaces:
Comparable<ByRule<List<Integer>>>, ByRule<List<Integer>>, RRulePart<List<Integer>>, VChild, VElement

public class ByMonthDay extends ByRuleIntegerAbstract<ByMonthDay>
By Month Day BYMONTHDAY RFC 5545, iCalendar 3.3.10, page 42 The BYMONTHDAY rule part specifies a COMMA-separated list of days of the month. Valid values are 1 to 31 or -31 to -1. For example, -10 represents the tenth to the last day of the month. The BYMONTHDAY rule part MUST NOT be specified when the FREQ rule part is set to WEEKLY.
Author:
David Bal
  • Constructor Details

    • ByMonthDay

      public ByMonthDay()
      sorted array of days of month (i.e. 5, 10 = 5th and 10th days of the month, -3 = 3rd from last day of month) Uses a varargs parameter to allow any number of days
    • ByMonthDay

      public ByMonthDay(Integer... daysOfMonth)
    • ByMonthDay

      public ByMonthDay(ByMonthDay source)
  • Method Details