Posts related to tag: Zone


How to display all UTC offset in Java 8

In Java 8, we can use ZoneId.getAvailableZoneIds() to get all unique zone id and LocalDateTime to get UTC offset of […] Continue reading »

Java 8– Calculate date & time difference between two Zone

In Java 8, we can use LocalDateTime.now(ZoneId.of(String zoneId)) to get current LocalDateTime instance of the zoneId  and Duration to calculate […] Continue reading »