What is the difference between Calendar.HOUR
and Calendar.HOUR_OF_DAY
?
When to use Calendar.HOUR
and Calendar.HOUR_OF_DAY
?
I am confused sometime Calendar.HOUR
this works fine and othertime Calendar.HOUR_OF_DAY
this works fine. What they return in the form of int?
I have read this documentation but not understood the difference.
Any suggestions
Thanks.