Example usage for java.time ZoneOffset MAX

List of usage examples for java.time ZoneOffset MAX

Introduction

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

Prototype

ZoneOffset MAX

To view the source code for java.time ZoneOffset MAX.

Click Source Link

Document

Constant for the maximum supported offset.

Usage

From source file:Main.java

public static void main(String[] args) {
    ZoneOffset t = ZoneOffset.MAX;
    System.out.println(t);
}

From source file:Main.java

public static void main(String[] args) {
    System.out.println("ZoneOffset.UTC: " + ZoneOffset.UTC);
    System.out.println("ZoneOffset.MIN: " + ZoneOffset.MIN);
    System.out.println("ZoneOffset.MAX: " + ZoneOffset.MAX);

}