Java Date Time - ZoneOffset MIN example








ZoneOffset MIN defines constant for the maximum supported offset.

Syntax

MIN has the following syntax.

public static final ZoneOffset MIN

Example

The following example shows how to use MIN.

import java.time.ZoneOffset;

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

The code above generates the following result.