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.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…