func isAllDayAndMonth(_year:Int,month:Int) ->Int{
varday =0
switchmonth {
case1:
day += 31
case 2:
if(((year%4==0)&&(year%100!=0))||(year%400==0))
{
day+=29
}
else
{
day+=28
}
case3:
day +=31
case4:
day +=30
case5:
day +=31
case6:
day +=30
case7:
day +=31
case8:
day +=31
case9:
day +=30
case10:
day +=31
case11:
day +=30
case12:
day +=31
default:
break
}
returnday
}