Resolve some issues with timezones in issue dates.
Add testcases for checking validity intervals.