setActualDayOfMonthMinimum()
Sets the value of the Day of Month
field to its actual minimum,
taking into consideration the given time value and the current values of the
getFirstDayOfWeek
, getMinimalDaysInFirstWeek
, and
setTimeZone
methods.
Syntax
Calendar setActualDayOfMonthMinimum()
Usage
For example, set the value of the
Day of Month
field to its minimum value by
calling:Calendar.fromDate(Date.parseString("05/08/1999","mm/dd/yyyy")).setActualDayOfMonthMinimum().toDate().format("mm/dd/yyyy")
This
example populates a Word Box. To achieve the same goal and populate a Date
box,
call:Calendar.fromDate(Date.parseString("07/05/1999","mm/dd/yyyy")).setActualDayOfMonthMinimum().toDate()