Java SQL Time From toTime(LocalTime localTime)

Here you can find the source of toTime(LocalTime localTime)

Description

to Time

License

Apache License

Declaration

public static Time toTime(LocalTime localTime) 

Method Source Code


//package com.java2s;
//License from project: Apache License 

import java.sql.Time;

import java.time.LocalTime;

public class Main {
    public static Time toTime(LocalTime localTime) {
        return Time.valueOf(localTime);
    }//  ww  w .j  a va 2  s  . co m
}

Related

  1. toTime(final Date date)
  2. toTime(final Object value)
  3. toTime(int value)
  4. toTime(java.util.GregorianCalendar cal)
  5. toTime(LocalTime localTime)
  6. toTime(Object object, Object oDefault)
  7. toTime(Object value)
  8. toTime(String format, String str)
  9. toTime(String str)