docs: private int getNextVariableDay(int day, int lastDay, int dayOfWeek) // d659945
      {
          int nextDay = ADVANCE_TO_NEXT_MONTH;
  
          for (int i = 0; i < variableDayOfMonthRanges.size(); i++)
          {
              int result = variableDayOfMonthRanges.get(i).getNextDay(day, lastDay, dayOfWeek);
              if (result == day)
              {
                  return day;
              }
  
              nextDay = Math.min(nextDay, result);
          }
  
          return nextDay;
      }