I have a requirement to support more than 24 hours of time format, for example if the time is 25:15:00 then it should return 01:15:00, in java local Time API. I am unable to find solution for this can someone please help me in this.
…
>Solution :
You can use DateTimeFormatter.withResolverStyle(ResolverStyle.LENIENT) to git the expected behavier.
DateTimeFormatter.ofPattern("HH:mm").withResolverStyle(ResolverStyle.LENIENT).parse("25:15")
For more information see the javadoc