Using roundMinutes in Java
<p>I am trying to get the hour and minute and then round the minutes to the nearest 5.  I found the java Calendar class with the roundMinutes function here:  <a href="http://www.rakeshv.org/docs/java/rakeshv/org/rakeshv/utils/Calendar.html#roundMinutes%28int,%20int%29" rel="nofollow">enter link description here</a></p>

<p>How would I use this in code?  I have tried creating a Calendar object, a Date object, but nothing shows me this method to use.  Providing an example would be great!</p>
