java.time.LocalTime.of(int year, int month, int dayOfMonth, int hour, int minute, int second)


java.time.LocalTime.of(int year, int month, int dayOfMonth, int hour, int minute, int second)

package com.codingdict;

import java.time.LocalTime;

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

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