Java SQL Date Check isDate(Object obj)

Here you can find the source of isDate(Object obj)

Description

is Date

License

Open Source License

Declaration

public static boolean isDate(Object obj) 

Method Source Code

//package com.java2s;

public class Main {

    public static boolean isDate(Object obj) {
        if (obj == null)
            return false;
        return obj instanceof java.sql.Date || obj instanceof java.util.Date;
    }/*from www. j a v a2  s.c  o m*/
}

Related

  1. isDataTypeDate(int dataType)
  2. isDate(final PropertyDescriptor pd)
  3. isDate(int colType)
  4. isDate(int dataType)
  5. isDate(int dataType)
  6. isDate(String str)
  7. isDate(String val)
  8. isDateOneAfterDateTwo(Date dateOne, Date dateTwo)
  9. isDateType(Class targetType)