Java Timestamp sqlDate(Timestamp t)

Here you can find the source of sqlDate(Timestamp t)

Description

sql Date

License

Open Source License

Declaration

public static final java.sql.Date sqlDate(Timestamp t) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import java.sql.Timestamp;

public class Main {
    public static final java.sql.Date sqlDate(Timestamp t) {
        return new java.sql.Date(t.getTime());
    }//w  ww  .j a  v  a  2s.co m
}

Related

  1. roundToSecond(Timestamp t)
  2. safeTimestamp(Date value)
  3. setTimestamp(byte[] ba, int offset, Timestamp val)
  4. setTimestamp(int index, Timestamp t, PreparedStatement stmt)
  5. setTimestampOrNull(PreparedStatement pstmt, int paramIndex, Timestamp value)
  6. sqlDateConvertoStr(Timestamp date)
  7. sqlDateToCalendar(Timestamp date)
  8. SQLTimestampToDate(java.sql.Timestamp ts)
  9. sqlTimestampToDate(Timestamp t)