Example usage for java.time ZoneId normalized

List of usage examples for java.time ZoneId normalized

Introduction

In this page you can find the example usage for java.time ZoneId normalized.

Prototype

public ZoneId normalized() 

Source Link

Document

Normalizes the time-zone ID, returning a ZoneOffset where possible.

Usage

From source file:Main.java

public static void main(String[] args) {
    ZoneId z = ZoneId.systemDefault();
    z = z.normalized();
    System.out.println(z);//from   ww  w.ja  va 2  s .  c o  m
}