Example usage for java.time ZoneOffset getRules

List of usage examples for java.time ZoneOffset getRules

Introduction

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

Prototype

@Override
public ZoneRules getRules() 

Source Link

Document

Gets the associated time-zone rules.

Usage

From source file:Main.java

public static void main(String[] args) {
    ZoneOffset z = ZoneOffset.UTC;
    ZoneRules t = z.getRules();
    System.out.println(t);//  w  w  w . j  a  va 2s .c om
}