GregorianCalendar : Java Glossary

*0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ (all)

GregorianCalendar
Oracle’s replacement for the brain-damaged and now deprecated Date class. GregorianCalendar needs both time and date set before it will function properly, even for date-only functions.

Pope Gregory XIII improved the accuracy of the Julian calendar by dropping the leap year every century and adding it back every 400 years.

When you use the default new GregorianCalendar, you specify the date and time in the current time zone and locale and daylight saving, not UTC (Coordinated Universal Time/Temps Universel Coordonné).

java.util.GregorianCalendar Gotchas

java.util.GregorianCalendar has far fewer bugs and gotchas than the old java.util.Date class but it is still no picnic.

Learning More

Oracle’s Javadoc on GregorianCalendar class : available:

This page is posted
on the web at:

http://mindprod.com/jgloss/gregoriancalendar.html

Optional Replicator mirror
of mindprod.com
on local hard disk J:

J:\mindprod\jgloss\gregoriancalendar.html
logo
Please the feedback from other visitors, or your own feedback about the site.
Contact Roedy. Please feel free to link to this page without explicit permission.
Blog
IP:[65.110.21.43]
Your face IP:[54.166.10.100]
You are visitor number