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?