setActualMinuteMaximum()
Sets the value of the Minute
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 setActualMinuteMaximum()
Usage
For example, set the value of the
Minute
field to its maximum value by
calling:Calendar.fromDate(Date.parseString("08/31/1999","mm/dd/yyyy")).setActualMinuteMaximum().toDate().toString("MM/dd/yyyy hh:mm:ss")
This
example populates a Word Box.