I am trying to convert a java.time.LocalTime object to java.util.Date but cannot find a suitable method. What is the right way to do this?
Is there some reason Java doesn't seem to come with a built-in direct conversion method?
Possible duplicates:
How to convert joda time - Doesn't work for me, maybe I missed some joda libraries?
How to convert Date to LocalTime? - it converts addresses the other way around.
java date java-8 java-time
Jbartmann
source share