Java SQL Time isTime(final PropertyDescriptor pd)

Here you can find the source of isTime(final PropertyDescriptor pd)

Description

is Time

License

Open Source License

Declaration

public static boolean isTime(final PropertyDescriptor pd) 

Method Source Code

//package com.java2s;
/*//from  w w w  . j ava  2  s  .  co m
 * Java Common Library
 * Copyright (c) 2008 BitCtrl Systems GmbH
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 3.0 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with this library; if not, write to the Free Software Foundation, Inc.,
 * 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA.
 *
 * Contact Information:
 * BitCtrl Systems GmbH
 * Wei?enfelser Stra?e 67
 * 04229 Leipzig
 * Phone: +49 341-490670
 * mailto: info@bitctrl.de
 */

import java.beans.PropertyDescriptor;

public class Main {

    public static boolean isTime(final PropertyDescriptor pd) {
        return pd.getPropertyType().isAssignableFrom(java.sql.Time.class);
    }
}

Related

  1. isBetweenHours(Time hora, Time horaInicio, Time horaFim)
  2. isCategoryDateOrTime(String sJavaType)
  3. isDateTime(int type)
  4. isDateTime(String val)
  5. isTime(final Class type)
  6. isTime(String val)
  7. isTimeInRange(java.sql.Time start, java.sql.Time end, java.util.Date d)
  8. merge(java.util.Date date, java.util.Date time)
  9. mergeDateTime(Date date, Time time)