Here you can find the source of isDateTime(int type)
public static boolean isDateTime(int type)
//package com.java2s; //License from project: Apache License import java.sql.Types; public class Main { public static boolean isDateTime(int type) { if (type == Types.DATE) { return true; } else {/*from w ww . java2 s. c o m*/ return false; } } }