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: enter link description here
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!