Here you can find the source of nowAtZone(String offsetId)
public static OffsetDateTime nowAtZone(String offsetId)
//package com.java2s; // The MIT License (MIT) import java.time.OffsetDateTime; import java.time.ZoneOffset; public class Main { public static OffsetDateTime nowAtZone(String offsetId) { return nowAtZone(ZoneOffset.of(offsetId)); }/*from w w w . j a va 2s .c o m*/ public static OffsetDateTime nowAtZone(ZoneOffset offset) { return OffsetDateTime.now().withOffsetSameInstant(offset); } }