Java Date Time Java Java API
java.time.Clock
public abstract ZoneId getZone()
Returns the ZoneId of this Clock object.
package com.logicbig.example.clock;import java.time.Clock;public class GetZoneExample { public static void main(String... args) { Clock c = Clock.systemDefaultZone(); System.out.println(c); }}
SystemClock[America/Chicago]