Java Timestamp Create toTimestamp(String value)

Here you can find the source of toTimestamp(String value)

Description

to Timestamp

License

Apache License

Declaration

public static Timestamp toTimestamp(String value) 

Method Source Code

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

import java.sql.Timestamp;

public class Main {

    public static Timestamp toTimestamp(String value) {
        return Timestamp.valueOf(value);
    }/*w ww  .  jav a2  s .c  om*/
}

Related

  1. toTimestamp(String dateTime)
  2. toTimestamp(String dt)
  3. toTimestamp(String s)
  4. toTimeStamp(String sDate, String format)
  5. toTimestamp(String str, String format)
  6. toTimestamp(String yyyymmddhhmmss)
  7. toTimestamp2(long seconds, int fraction, int width)
  8. toTimestamp2(long seconds, int nanos)
  9. toTimestamp2(long value, int nanos, int meta)