Example usage for java.time LocalTime ofNanoOfDay

List of usage examples for java.time LocalTime ofNanoOfDay

Introduction

In this page you can find the example usage for java.time LocalTime ofNanoOfDay.

Prototype

public static LocalTime ofNanoOfDay(long nanoOfDay) 

Source Link

Document

Obtains an instance of LocalTime from a nanos-of-day value.

Usage

From source file:Main.java

public static void main(String[] args) {
    LocalTime l = LocalTime.ofNanoOfDay(123123);

    System.out.println(l);
}