public Source<LocalDate> withDaysBetween(long daysFromEpochStartInclusive,long daysFromEpochEndInclusive){
  acceptableIntervalForLongLocalDate(daysFromEpochStartInclusive,daysFromEpochEndInclusive);
  maxGEQMin(daysFromEpochStartInclusive,daysFromEpochEndInclusive);
  return Compositions.weightWithValues(LocalDates.withDaysBetween(daysFromEpochStartInclusive,daysFromEpochEndInclusive),LocalDate.ofEpochDay(daysFromEpochEndInclusive),LocalDate.ofEpochDay(daysFromEpochStartInclusive));
}

public Source < LocalDate > withDaysBetween ( long daysFromEpochStartInclusive , long daysFromEpochEndInclusive ) { acceptableIntervalForLongLocalDate ( daysFromEpochStartInclusive , daysFromEpochEndInclusive ) ; maxGEQMin ( daysFromEpochStartInclusive , daysFromEpochEndInclusive ) ; return Compositions . weightWithValues ( LocalDates . withDaysBetween ( daysFromEpochStartInclusive , daysFromEpochEndInclusive ) , LocalDate . ofEpochDay ( daysFromEpochEndInclusive ) , LocalDate . ofEpochDay ( daysFromEpochStartInclusive ) ) ; }
generates localdates inclusively bounded between localdate . of ( daysfromepochstartinclusive ) and localdate . of ( daysfromepochendinclusive ) ( these can be negative longs , in accordance with the localdate api ) . the source is weighted so it is likely to produce localdate . of ( daysfromepochstartinclusive ) and localdate . of ( daysfromepochendinclusive ) one or more times .
