Calculate in_general using year/month/day difference

...instead of calculating by day difference and assuming static values for year to day conversion, etc.
Merge pull request #1 from matrinox/feature/more-accurate-in-general

Calculate in_general using year/month/day difference