DayOfMonth property

int get DayOfMonth
Gets or sets the day of the month when each occurrence happens. DayOfMonth must be between 1 and 31.

Implementation

int get DayOfMonth =>
    this.GetFieldValueOrThrowIfNull<int?>(this._dayOfMonth, "DayOfMonth")!;
set DayOfMonth (int value)

Implementation

set DayOfMonth(int value) {
  if (value < 1 || value > 31) {
    throw new RangeError("DayOfMonth Strings.DayOfMonthMustBeBetween1And31");
  }
  if (this.CanSetFieldValue(this._dayOfMonth, value)) {
    this._dayOfMonth = value;
    this.Changed();
  }
}