Java Timestamp Create toSQLTimestamp(String time)

Here you can find the source of toSQLTimestamp(String time)

Description

To SQL timestamp.

License

Apache License

Parameter

Parameter Description
time the time

Return

the java.sql. timestamp

Declaration

public static final java.sql.Timestamp toSQLTimestamp(String time) 

Method Source Code

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

public class Main {
    /**/*  w ww.  j av  a2  s.  c  o  m*/
     * To SQL timestamp.
     *
     * @param time the time
     * @return the java.sql. timestamp
     */
    public static final java.sql.Timestamp toSQLTimestamp(String time) {
        return java.sql.Timestamp.valueOf(time);
    }
}

Related

  1. toSqlTimeStamp(Date d)
  2. toSQLTimestamp(Date date)
  3. toSQLTimestamp(DateTime dt)
  4. toSqlTimestamp(java.util.Date date)
  5. toSQLTimestamp(Object object, Object oDefault)
  6. toTimestamp(BigDecimal value)
  7. toTimestamp(Date date)
  8. toTimestamp(Date date)
  9. toTimestamp(Date date)