Java data type to hold only date
<p>Which data type in Java can hold just the date and doesn't require a time component? For example, just to store <code>12/07/2012</code>. I'm working with persisting the data to/from a database that has a date-only data type, so I'm looking for the best equivalent data type in Java.</p>
