Java Date vs Calendar

Posted by Marty Pitt on Stack Overflow See other posts from Stack Overflow or by Marty Pitt
Published on 2009-09-10T09:09:59Z Indexed on 2010/06/15 3:22 UTC
Read the original article Hit count: 388

Could someone please advise the current "best practice" around Date and Calendar types.

When writing new code, is it best to always favour Calendar over Date, or are there circumstances where Date is the more appropriate datatype?

© Stack Overflow or respective owner

Related posts about java

Related posts about best-practices