Java SQL Date Convert toJavaDate(java.sql.Date sqlDate)

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

Description

to Java Date

License

Open Source License

Declaration

private static Date toJavaDate(java.sql.Date sqlDate) 

Method Source Code

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

import java.util.Date;

public class Main {
    private static Date toJavaDate(java.sql.Date sqlDate) {
        return sqlDate == null ? null : new Date(sqlDate.getTime());
    }//ww  w .j  a v a 2 s  .co m
}

Related

  1. toEnglishDate(String stringDate)
  2. toGMT(final Date ts)
  3. toInt(java.util.Date v)
  4. toIntDate(Object object, int iDefault)
  5. toJavaDate(java.sql.Date date)
  6. toLong(java.util.Date v)
  7. toName(Date date)
  8. totalUpdateCount(int[] result)
  9. toYMD(Date date, String datePtn)