3 ms·
Welcome to Business Logic. This is where I'd really like pushback to result in things that aren't edgecases. However you also run into day to day business iss
by mjevans 2y ago
Welcome to Business Logic. This is where I'd really like pushback to result in things that aren't edgecases.
However you also run into day to day business issues like:
* What if it's now a Holiday and things are closed?
* What if it's some commonly busy time like winter break? (Not quite a single holiday)
* What if a disaster of somekind (even just a burst waterpipe) halts operations in an unplanned way?
Usually flexability needs to be built in. It can be fine to 'target' +3 months, but specify it as something like +3m(-0d:+2w) (so, add '3 months' ignoring the day of month, clamp dom to a valid value, allow 0 days before or 14 days after),
- TZubiri 2y agoDo all edge cases need to be handled? Just be late when there's a holiday. 72 business hours sounds more like human time than computer time anyways.
- cryptonector 2y agoYes, basically, they do need to be handled, but you have to define that for your own case. It's a real pain, if you have to do month math.