PackedDateTime.lastDayOfMonth

PackedDateTime lastDayOfMonth(int year, int month) static

ditto