What's the correct way to represent time of day in Java?
For example: 09:00, 19:30, etc.
Basically this is a time of day not linked to an actual date/day.
You've already tagged this with jodatime.
The Joda Time type for storing a time of day is org.joda.time.LocalTime
. See the Joda Time API documentation.
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