Factorize isYesterday and isTomorrow
Merge pull request #152 from lucasmichot/is

Factorize isYesterday and isTomorrow