public void hourlyStartHours(NSArray nsarray, int beginScheduleWindow, int endScheduleWindow, int interval) {
int hour = beginScheduleWindow;
for(Enumeration enumeration = nsarray.objectEnumerator(); enumeration.hasMoreElements();) {
if (hour > endScheduleWindow)
hour = beginScheduleWindow;
MInstance minstance = (MInstance) enumeration.nextElement();
minstance.setSchedulingHourlyStartTime(Integer.valueOf(hour));
minstance.setSchedulingInterval(Integer.valueOf(interval));
processedInstance(minstance);
hour++;
}
sendUpdateInstancesToWotaskds();
}