Java SQL Date to Util Date toUtilDate(java.sql.Date d)

Here you can find the source of toUtilDate(java.sql.Date d)

Description

to Util Date

License

Open Source License

Declaration

@Deprecated
    public static Date toUtilDate(java.sql.Date d) 

Method Source Code

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

import java.util.Date;

public class Main {
    @Deprecated
    public static Date toUtilDate(java.sql.Date d) {
        return new Date(d.getTime());
    }/*ww w  .  ja  v  a2s  .c o  m*/
}

Related

  1. toUtilDate(Date date)
  2. toUtilDate(java.sql.Date date)
  3. toUtilDate(String sDate, String format)
  4. toUtilDateFromSqlDate(java.sql.Date p_sqlDate)