Here in Washington DC, on November 3rd 2019 at 2:00 am the clock was "moved back" to 1:00 am.
This means the local time was like this:
=== Nov 2nd ===:=== Nov 3rd ===========
:
9 10 11 12 1 2
---+---+---+---+---+-*-+
: +-#-+---+---+---+---
: 1 2 3 4 5
So, if an accident happened at 1:30 am, when I record it, it should be clear if it happened on first time line (the *
there) or the second one (the #
there). This is quite important to establish responsibilities and other legal liabilities.
When looking at the java.time.LocalDateTime
it doesn't seem to include the time line in it. Was this intentional, or an oversight?
If the time line is not included, is there a better Java class to store the local date/time?