Java Utililty Methods Calendar Hour

List of utility methods to do Calendar Hour

Description

The list of methods to do Calendar Hour are organized into topic(s).

Method

CalendartruncateToHour(Calendar cal)
Truncate calendar to current hour
cal.set(Calendar.MINUTE, 0);
cal.set(Calendar.SECOND, 0);
cal.set(Calendar.MILLISECOND, 0);
return cal;