fix bug first day or last day of the month on Sunday, For example, 2014/6, 2014/8
add test code.
Merge pull request #7 from ezaki3/develop

fix bug first day or last day of the month on Sunday