protected void createDateDimension(
            List<QuarterDetail> quartersDetails,
            List<AcademicTermDetail> academicTermDetails,
            DateMidnight date) {

        final QuarterDetail quarterDetail =
                EventDateTimeUtils.findDateRangeSorted(date, quartersDetails);
        final AcademicTermDetail termDetail =
                EventDateTimeUtils.findDateRangeSorted(date, academicTermDetails);
        this.dateDimensionDao.createDateDimension(
                date,
                quarterDetail.getQuarterId(),
                termDetail != null ? termDetail.getTermName() : null);
    }
protected void createDateDimension ( List < QuarterDetail > quartersDetails , List < AcademicTermDetail > academicTermDetails , DateMidnight date ) { final QuarterDetail quarterDetail = EventDateTimeUtils . findDateRangeSorted ( date , quartersDetails ) ; final AcademicTermDetail termDetail = EventDateTimeUtils . findDateRangeSorted ( date , academicTermDetails ) ; this . dateDimensionDao . createDateDimension ( date , quarterDetail . getQuarterId ( ) , termDetail != null ? termDetail . getTermName ( ) : null ) ; }
Creates a date dimension, handling the quarter and term lookup logic