setActualDayOfMonthMaximum()

Sets the value of the Day of Month field to its actual maximum, taking into consideration the given time value and the current values of the getFirstDayOfWeek, getMinimalDaysInFirstWeek, and setTimeZone methods.

Syntax

Calendar setActualDayOfMonthMaximum()