More details I want to get rid of specific days of the week.
I mean like: {Sat(1), Sun(2), Mon(3) , Tues(4) , Wed (5),Thurs(6) ,Fri(7)}
.
Remove Week Days: {Sat(1), Sun(2), Mon(3) , Tues(4) , Wed (5)}
.
So I can get the Count of days without the excluded days from the specific start date to the date of now.
Hint: I must Use the Java Calendar
The problem is specifying the day dynamically
If you can use LocalDate and stream you can apply a functional approach.
If you insist on calendar just use: