Example usage for java.time OffsetTime from

List of usage examples for java.time OffsetTime from

Introduction

In this page you can find the example usage for java.time OffsetTime from.

Prototype

public static OffsetTime from(TemporalAccessor temporal) 

Source Link

Document

Obtains an instance of OffsetTime from a temporal object.

Usage

From source file:Main.java

public static void main(String[] args) {
    OffsetTime m = OffsetTime.from(ZonedDateTime.now());

    System.out.println(m);

}