setHourOfDay()
Sets the value of the Hour of Day
calendar field.
Syntax
Calendar setHourOfDay(Numeric value)
- value is the hour of day to set.
Usage
For example, set the value of the
Hour of Day
calendar field by
calling:Calendar.fromDate(Date.parseString("05/08/1999","mm/dd/yyyy")).setHourOfDay(5).toDate().toString("MM/dd/yyyy hh:mm:ss")
This
example populates a Word Box.