public String getDBCatalog(Connection con) throws SQLException{ return _getDBCatalog( con); }
public String to_char(String date) { return to_char(date,FORMART_ALL); }
/** * This method overrides the JDBC escapes used to format dates * using a <code>DateFormat</code>. As of version 2.0.11, the MM * JDBC driver does not implement JDBC 3.0 escapes. * * @param date the date to format * @return The properly formatted date String. */ public String to_date(Date date) { return to_date(date,this.date_format); }
/** * This method overrides the JDBC escapes used to format dates * using a <code>DateFormat</code>. As of version 2.0.11, the MM * JDBC driver does not implement JDBC 3.0 escapes. * * @param date the date to format * @return The properly formatted date String. */ public String to_date(Date date,String format) { if(date == null) return null; char delim = getStringDelimiter(); return (delim + new SimpleDateFormat(format == null?this.date_format:format).format(date) + delim); }
/** * This method overrides the JDBC escapes used to format dates * using a <code>DateFormat</code>. As of version 2.0.11, the MM * JDBC driver does not implement JDBC 3.0 escapes. * * @param date the date to format * @return The properly formatted date String. */ public String to_date(String date,String format) { if(date == null) return null; char delim = getStringDelimiter(); return (delim + new SimpleDateFormat(format == null?this.date_format:format).format(SimpleStringUtil.stringToDate(date,format)) + delim); }
/** * This method overrides the JDBC escapes used to format dates * using a <code>DateFormat</code>. As of version 2.0.11, the MM * JDBC driver does not implement JDBC 3.0 escapes. * * @param date the date to format * @return The properly formatted date String. * @deprecated use to_date function. */ public String getDateString(Date date) { return to_date(date,this.date_format); }
/** * This method overrides the JDBC escapes used to format dates * using a <code>DateFormat</code>. As of version 2.0.11, the MM * JDBC driver does not implement JDBC 3.0 escapes. * * @param date the date to format * @return The properly formatted date String. * @deprecated use to_date function. */ public String getDateString(String date,String format) { return to_date(date,format); }
/** * This method overrides the JDBC escapes used to format dates * using a <code>DateFormat</code>. As of version 2.0.11, the MM * JDBC driver does not implement JDBC 3.0 escapes. * * @param date the date to format * @return The properly formatted date String. * @deprecated use to_date function. */ public String getDateString(Date date,String format) { return to_date(date,format); }
/** * This method overrides the JDBC escapes used to format dates * using a <code>DateFormat</code>. As of version 2.0.11, the MM * JDBC driver does not implement JDBC 3.0 escapes. * * @param date the date to format * @return The properly formatted date String. */ public String to_date(String date) { return to_date(date,this.date_format); } /**
/** * This method overrides the JDBC escapes used to format dates * using a <code>DateFormat</code>. As of version 2.0.11, the MM * JDBC driver does not implement JDBC 3.0 escapes. * * @param date the date to format * @return The properly formatted date String. * @deprecated use to_date function. */ public String getDateString(String date) { return to_date(date,this.date_format); } /**