return getHolidays(new Integer(year).intValue());
}
public String[] getHolidays(int year)
{
MyListService myService;
if (myListServicesList!=null)
{
for (int i=0; i<myListServicesList.size(); i++)
{
myService=myListServicesList.get(i);
if(new Integer(myService.getYear()).intValue()==year)
{
return myService.getHolidays();
}
}
}
if (myListServicesArray!=null)
{
for (int i=0; i<myListServicesArray.length; i++)
{
myService=myListServicesArray[i];
if(new Integer(myService.getYear()).intValue()==year)
{
return myService.getHolidays();
}
}
}
return null;
}