Open
Description
Is your feature request related to a problem? Please describe.
After numerous emails with Skatteverket, we now have verified two things regarding Swedish Coordination Number:
- Month=0 and day=60 are to be expected. This means month and day are set to 00 and they might be so when day and/or month can't be verified.
- Days too high for a given month as found in the test data is not valid. The test data is invalid.
What area is it related to
- Coordination Number
Describe the solution you'd like
- Update the docs to describe that this is the official definition
- Update the implementation not to allow to high days
- Decide on how to handle month/day == 00.
- Update test data.
- Update unit tests.
- Bring back Date and Age hints for CoordinationNumber
Major question is, can/should we bring back the hints? Now we now that only when month/day is 00 the data can't be verified. Can we return all hints, but throw an exception if date is not verified? It should be edge cases.