Example usage for java.time ZoneOffset getId

List of usage examples for java.time ZoneOffset getId

Introduction

In this page you can find the example usage for java.time ZoneOffset getId.

Prototype

@Override
public String getId() 

Source Link

Document

Gets the normalized zone offset ID.

Usage

From source file:Main.java

public static void main(String[] args) {
    ZoneOffset z = ZoneOffset.UTC;
    String t = z.getId();
    System.out.println(t);/*from  ww  w  .  j  av a2s . c o  m*/
}