java.time.LocalTime.of(int hour, int minute, int second, int nanoOfSecond)


java.time.LocalTime.of(int hour, int minute, int second, int nanoOfSecond)

package com.codingdict;

import java.time.LocalTime;

public class LocalTimeDemo {
   public static void main(String[] args) {

      LocalTime time = LocalTime.of(6,30,40,50000);
      System.out.println(time);  
   }
}