Java SQL Date From getDatabaseLocalTime(Time databaseDate)

Here you can find the source of getDatabaseLocalTime(Time databaseDate)

Description

get Database Local Time

License

Open Source License

Declaration

public static LocalTime getDatabaseLocalTime(Time databaseDate) 

Method Source Code

//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;
        }
    }
}

Related

  1. getCurrentTime(String format)
  2. getCurrentTimeMillis()
  3. GetCurrFormattedDateTime(String strFormatTo)
  4. getCurrTime()
  5. getCurTime()
  6. getDateTime()
  7. getDateTime()
  8. getDateTime()
  9. getDateTime(final int year, final int month, final int day, final int hour, final int minute, final int second)