Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [nebula-dev] Date submissions - Eric and Jeremy

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
nebula-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/nebula-dev



Back to the top