Moved date_sql.inc to DateSqlHandler class