Here you can find the source of getDatabaseLocalTime(Time databaseDate)
public static LocalTime getDatabaseLocalTime(Time databaseDate)
//package com.java2s; //License from project: Open Source License import java.sql.Time; import java.time.LocalTime; public class Main { public static LocalTime getDatabaseLocalTime(Time databaseDate) { if (databaseDate != null) { return databaseDate.toLocalTime(); } else {/* w ww .ja v a 2 s . c om*/ return null; } } }