For finding an instant that corresponds to the start of a date in a particular time zone, consider using LocalDate.atStartOfDayIn function because a day does not always start at the fixed time 00000.
Out of curiosity, does that regularly happen? If it was a one-time thing, I'm curious when and why
k
kevin.cianfarini
08/21/2024, 2:23 PM
Don’t some time zones perform daylight savings switches at would be midnight? So it jumps directly from
23:59:59.9999
to
01:00:00
?
kevin.cianfarini
08/21/2024, 2:23 PM
I don’t know which ones in particular, but I’m fairly certain that’s a thing.