I’m a little bit confused about using the class GregorianCalendar and Date.
What is the difference?
For instance: I have a field in a Person object that represents the date he was born.
Do I have to use Date or GregorianCalendar?
What is the best use for them?
If you were writing down the details on paper, would you write down the date of birth as a date, or would you write down a calendar with a circle around the date?
You would write down the date. Date is a concrete date. Calendar is a tool for working with dates.