Can someone explain the difference between the Date, Calendar and GregorianCalendar? I'm not sure how each is used.
Thanks.
Scott Johnson
Ranch Hand
Joined: Aug 24, 2005
Posts: 518
posted
0
Date represents a specific point in time.
Calendar is an abstract class that defines methods for converting, comparing or manipulating points in time.
GregorianCalendar extends Calendar and implements the logic necessary for converting, comparing or manipulating dates according to the calendar created by Pope Gregory XIII.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.