Calendar.Hour_of_day 24. In the following code shows how to use calendar.hour_of_day field. Dateutils contains a lot of common methods considering manipulations of dates or calendars.
E.g., at 10:04:15.250 pm the hour_of_day is 22. Java’s java.util.calendar class is used to do date and time arithmetic.