How to exclude weekend days from Timed Event's duration?

The bigger problem I have found is there is no good business calendar lib for java :-1:t2: