Question: how to calculate business days between two dates in java?
Answer: LocalDate start = LocalDate. ... 
DayOfWeek dow = start. ... 
int initialCapacity = Duration. ... 
Set<DayOfWeek> weekend = EnumSet. ... 
LocalDate date = start ; while( date. ... 
private long countWeekDaysStream ( LocalDate start , LocalDate stop ) { // Code taken from the Answer by Ravindra Ranwala.