class CompetitionSetupMilestoneServiceImpl implements CompetitionSetupMilestoneService {

    @Override
    public boolean isMilestoneDateValid(Integer day, Integer month, Integer year) {
        try{
            TimeZoneUtil.fromUkTimeZone(year, month, day);
            return year <= 9999;
        }
        catch(DateTimeException dte){
            LOG.trace("invalid milestone date", dte);
            return false;
        }
    }

}