count of days in the given month one indexed of the given year . concode_field_sep TimeZone ZULU concode_elem_sep long SECS_PER_DAY concode_elem_sep Pattern UTC_TZID concode_elem_sep TimeZone BOGUS_TIMEZONE concode_elem_sep int[] MONTH_START_TO_DOY concode_field_sep TimeZone utcTimezone concode_elem_sep DateValue add concode_elem_sep int fixedFromGregorian concode_elem_sep int fixedFromGregorian concode_elem_sep int yearLength concode_elem_sep int dayOfYear concode_elem_sep DateValue toDateValue concode_elem_sep DateValue fromUtc concode_elem_sep DateTimeValue fromUtc concode_elem_sep int daysBetween concode_elem_sep int daysBetween concode_elem_sep boolean isLeapYear concode_elem_sep DateTimeValue convert concode_elem_sep DateTimeValue timeFromSecsSinceEpoch concode_elem_sep TimeZone timeZoneForName concode_elem_sep DateTimeValue dayStart concode_elem_sep DateTimeValue addSeconds concode_elem_sep long secsSinceEpoch concode_elem_sep long timetMillisFromEpochSecs concode_elem_sep DateValue toUtc
int function ( int arg0 , int arg1 ) { switch ( arg1 ) { case 1 : case 3 : case 5 : case 7 : case 8 : case 10 : case 12 : return 31 ; case 4 : case 6 : case 9 : case 11 : return 30 ; case 2 : return isLeapYear ( arg0 ) ? 29 : 28 ; default : throw new AssertionError ( arg1 ) ; } }