//TODO business day convention and currency are in both conventions - should we enforce that they're the same or use
// different ones for each leg?
final BusinessDayConvention businessDayConvention = fixedLegConvention.getBusinessDayConvention();
final boolean endOfMonth = fixedLegConvention.isIsEOM();
final Currency currency = priceIndexConvention.getCurrency();
final Calendar calendar = CalendarUtils.getCalendar(_regionSource, _holidaySource, priceIndexConvention.getRegion());
final ZoneId zone = _valuationTime.getZone(); //TODO time zone set to midnight UTC
final ZonedDateTime settlementDate = ScheduleCalculator.getAdjustedDate(_valuationTime, settlementDays, calendar).toLocalDate().atStartOfDay(zone);
final ZonedDateTime paymentDate = ScheduleCalculator.getAdjustedDate(settlementDate, tenor, businessDayConvention, calendar, endOfMonth).toLocalDate().atStartOfDay(zone);
final CouponFixedCompoundingDefinition fixedCoupon = CouponFixedCompoundingDefinition.from(currency, settlementDate, paymentDate, notional, tenor.getYears(),
rate);