docs: @Override
  	public double getDaycountFraction(LocalDate startDate, LocalDate endDate) {
  		if(startDate.isAfter(endDate)) {
  			return -getDaycountFraction(endDate,startDate);
  		}
  
  
  		/*
  		 * Determine the denominator of act/act.
  		 */
  		double denominator;
  
  		LocalDate startDatePlusOneYear = startDate.plusYears(1);
  		if(endDate.isAfter(startDatePlusOneYear)) {
  			/*
  			 * The following method applies, if the interval spans more than one year:
  			 * fraction = actual number of days / average number of days per year.
  			 */
  
  			LocalDate startDateYearStart = startDate.withDayOfYear(1);
  			LocalDate endDateYearEnd = endDate.withDayOfYear(endDate.lengthOfYear()).plusDays(1);
  
  			double spannedYears = endDate.getYear() - startDate.getYear() + 1;
  			denominator = getDaycount(startDateYearStart, endDateYearEnd) / spannedYears;
  		}
  		else {
  			boolean isStartLeapYear	= startDate.isLeapYear();
  			boolean isEndLeapYear	= endDate.isLeapYear();
  			/*
  			 * If the start and end span less or equal one year:
  			 * If start and end fall in a leap year, use ACT/366.
  			 */
  			if(isStartLeapYear && isEndLeapYear)
  			{
  				denominator = 366.0;
  			}
  			else
  				/*
  				 * If the start and end span less or equal one year:
  				 * If either falls in a leap year and Feb 29th of that leap year lies in between start and end (or is equal to start or end), use ACT/366.
  				 */
  				if(isStartLeapYear || isEndLeapYear)
  				{
  					// Get February 29th of the respective leap year
  					LocalDate leapYearsFeb29th = isStartLeapYear ?
  							LocalDate.of(startDate.getYear(), Month.FEBRUARY, 29) :
  								LocalDate.of(endDate.getYear(), Month.FEBRUARY, 29);
  
  
  							// Check position of February 29th
  							if(startDate.compareTo(leapYearsFeb29th) <= 0 && endDate.compareTo(leapYearsFeb29th) >= 0) {
  								denominator = 366.0;
  							}
  							else {
  								denominator = 365.0;
  							}
  				}
  				else {
  					/*
  					 * If the start and end span less or equal one year:
  					 * If none of the above applies, use denominator = ACT/365.
  					 */
  					denominator = 365.0;
  				}
  		}
  
  		double daycountFraction = getDaycount(startDate, endDate) / denominator;
  
  		return daycountFraction;
  	}