Try

eCal.getActualMaximum(Calendar.DAY_OF_MONTH);

That should return 30 though as November, the 11th month, has a maximum of 30 days.