Java Timestamp Create toSqlTime(Timestamp timestamp)

Here you can find the source of toSqlTime(Timestamp timestamp)

Description

to Sql Time

License

Apache License

Declaration

public static java.sql.Time toSqlTime(Timestamp timestamp) 

Method Source Code

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

import java.sql.Timestamp;

public class Main {

    public static java.sql.Time toSqlTime(Timestamp timestamp) {
        return new java.sql.Time(timestamp.getTime());
    }/*  w  w  w  .  j a v a2  s .  co m*/
}

Related

  1. timestampNow()
  2. timestampStartOfDay(long time)
  3. timestampStringToUnixDate(String s)
  4. toOracleTimestamp(String stringDate, int intFlag)
  5. toSQLTime(Instant timestamp)
  6. toSqlTimestamp(Date d)
  7. toSqlTimeStamp(Date d)
  8. toSQLTimestamp(Date date)
  9. toSQLTimestamp(DateTime dt)