Java Date rounding
<p>I would like an elegant way to round a java Date up or down to the nearest minute (or second, hour, day).</p>

<p>For example a date of "Wed Jan 25 10:36:34 GMT 2012" rounded up to the nearest minute would be "Wed Jan 25 10:37:00 GMT 2012"</p>
