Java SQL Date From toDate(java.sql.Date sqlDate)

Here you can find the source of toDate(java.sql.Date sqlDate)

Description

to Date

License

Open Source License

Declaration

public static Date toDate(java.sql.Date sqlDate) 

Method Source Code

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

import java.util.Date;

public class Main {
    public static Date toDate(java.sql.Date sqlDate) {
        return (sqlDate == null ? null : new Date(sqlDate.getTime()));
    }//from w w  w.ja v a2 s.c o m
}

Related

  1. getDateTime()
  2. getDateTime(final int year, final int month, final int day, final int hour, final int minute, final int second)
  3. getDateTime(Object value)
  4. toDate(Calendar cal)
  5. toDate(int value)
  6. toDate(java.util.Date date)
  7. toDate(Object date)
  8. toDate(Object o)
  9. toDate(Object obj)