Java SQL Date Parse parseSqlDate(java.util.Date date)

Here you can find the source of parseSqlDate(java.util.Date date)

Description

parse Sql Date

License

Open Source License

Declaration

public static java.sql.Date parseSqlDate(java.util.Date date) 

Method Source Code

//package com.java2s;

public class Main {

    public static java.sql.Date parseSqlDate(java.util.Date date) {
        if (date == null)
            return null;
        return new java.sql.Date(date.getTime());
    }//from  w  ww . j  av a2s. c  o  m
}

Related

  1. parseDateYYMMddHHmm(java.util.Date date)
  2. parseDateYYMMddHHmmss1(Date date)
  3. parseDateyyyy_MM_DD(String ds)
  4. parseSqlDate(final String value)
  5. parseSqlDate(final String value)
  6. parseSqlDate(java.util.Date date)
  7. parseSQLDate(String dateStr, String pattern)
  8. parseString2Date(String s, SimpleDateFormat format)
  9. parseUTCDateFromString(String dt)