I need to iterate throught the time for one day.
I have the starting time: 00:00 and the end time: 23:59.
I want to cycle through every minute of an hour.
How can I achieve this in Java? Does any Java library for this exist?
for (int hour = 0; hour <= 23; hour++) {
for (int minute = 0; minute <= 59; minute++) {
// ...
}
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With