List of usage examples for java.time ZoneId SHORT_IDS
Map SHORT_IDS
To view the source code for java.time ZoneId SHORT_IDS.
Click Source Link
From source file:org.pr.nb.clocks.model.NBClock.java
public NBClock(String zoneId) { this.zoneId = ZoneId.of(zoneId, ZoneId.SHORT_IDS); zoneDateTime = ZonedDateTime.now(this.zoneId); homeZone = StringUtils.equals(zoneId, ZoneId.systemDefault().getId()); }