additionally, from jem.marsh on the Sun Developer Network:

> Calendars are used to manipulate Dates. DateFormats are used to format
> Dates. Date is used to represent dates. When Sun moved the
> manipulation methods to Calendar & DateFormat, it did not intend to
> stop people using Date.


Tom Schindl wrote:
Christopher J Gross schrieb:
True.  But is there a benefit to using Date over Calendar?  As far as I
can tell Date is just a wrapper for a long now, right?   Why not use
Calendar instead?


Because from most frameworks you use e.g. JDBC you get back a Date
object which you need to wrap if into Calender object.

Tom

_______________________________________________
nebula-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/nebula-dev

_______________________________________________
nebula-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/nebula-dev

Reply via email to