refactoring in invoice to extact the logic for interval calculation in one class and simplify the code
Merge branch 'master' of github.com:killbill/killbill
Revert "refactoring in invoice to extact the logic for interval calculation in one class and simplify the code"

This reverts commit bd4f6e704cbe2593d23fab5e65df0d85bd2bcbb7.
Perf optimization when retrieving events for accounts
Merge branch 'master' of github.com:killbill/killbill