class PatchingRepositoryImpl implements PatchingRepository, Constants {

    @Override
    public String getAmilAvailDate(int year, int quarter) {
        try {
            String query = "select Date(createdDate) from cf_SystemConfiguration where keyname = 'pacman.kernel.compliance.map."
                    + year + ".q" + quarter + "'";
            return rdsrepository.queryForString(query);
        } catch (Exception e) {
            logger.error(e);
            return null;
        }

    }

}