I want to know the number of hours in a day when the DST (daylight saving time, summer time) is begins and ends.
Am willing to use java.time
. Zone ID is Europe/London
. The main intention is:
- when DST begins in the spring, we will have 23 hours in one day because clocks are turned forward
- conversely when DST ends, we will have 25 hours in one day.
I have an epoch value from which I should find the number of hours. How is it possible?