Java SQL Date Check isDate(int dataType)

Here you can find the source of isDate(int dataType)

Description

is Date

License

Open Source License

Declaration

public static boolean isDate(int dataType) 

Method Source Code

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

public class Main {
    public static boolean isDate(int dataType) {
        switch (dataType) {
        case java.sql.Types.DATE:
        case java.sql.Types.TIME:
        case java.sql.Types.TIMESTAMP:
            return true;
        default://from   w w w . j  av  a  2 s .c o  m
            return false;
        }
    }
}

Related

  1. isChunjie(String date)
  2. isDataTypeDate(int dataType)
  3. isDate(final PropertyDescriptor pd)
  4. isDate(int colType)
  5. isDate(int dataType)
  6. isDate(Object obj)
  7. isDate(String str)
  8. isDate(String val)