ZoneOffset MAX example
Description
ZoneOffset MAX
defines constant for the maximum supported offset.
Syntax
MAX
has the following syntax.
public static final ZoneOffset MAX
Example
The following example shows how to use MAX
.
import java.time.ZoneOffset;
/* ww w. j a v a 2s .c o m*/
public class Main {
public static void main(String[] args) {
ZoneOffset t = ZoneOffset.MAX;
System.out.println(t);
}
}
The code above generates the following result.