This must be the stupidest API ever.



How to convert from #java #sql #Date to java.util.Instant with #time and #zone.



Just getting the date from #MSSqlServer omits the time. So we have to read that separately, convert sql date and time to #LocalDate and #LocalTime, and then create an intermediary #CalendarBuilder to collect each #ChronoUnit, and then convert the result to milliseconds since #epoch.



Ugh.