}
JsonNode monthlyOccurrencesArray2 = scheduleValue2.get("monthlyOccurrences");
if (monthlyOccurrencesArray2 != null) {
for (JsonNode monthlyOccurrencesValue : ((ArrayNode) monthlyOccurrencesArray2)) {
JobScheduleMonthlyOccurrence jobScheduleMonthlyOccurrenceInstance = new JobScheduleMonthlyOccurrence();
scheduleInstance.getMonthlyOccurrences().add(jobScheduleMonthlyOccurrenceInstance);
JsonNode dayValue = monthlyOccurrencesValue.get("day");
if (dayValue != null) {
JobScheduleDay dayInstance;
dayInstance = SchedulerClientImpl.parseJobScheduleDay(dayValue.getTextValue());
jobScheduleMonthlyOccurrenceInstance.setDay(dayInstance);
}
JsonNode occurrenceValue = monthlyOccurrencesValue.get("occurrence");
if (occurrenceValue != null) {
int occurrenceInstance;
occurrenceInstance = occurrenceValue.getIntValue();
jobScheduleMonthlyOccurrenceInstance.setOccurrence(occurrenceInstance);
}
}
}
}
}