public static Date getDate(
    Object   value)
  {
    if (value == null)
    {
        return null;
    }

    if (value instanceof Date)
    {
        return ((Date) value);
    }

    return parseISODate(value.toString());
  }
public static Date getDate ( Object value ) { if ( value == null ) { return null ; } if ( value instanceof Date ) { return ( ( Date ) value ) ; } return parseISODate ( value . toString ( ) ) ; }
ISO Date String --> Date
@param value
@return