Personnummer v3.1 API Spec implemented.
- Added options for allowing coordination numbers (true by default) and interim number (false by default).
- Added support for interim numbers
- Added
isInterimNumber
function - Added
getDate
function
- Migrate to null-safety, see #8
- Fixed whitespace separator issue, see personnummer/meta#41
- Fixed an issue where last four digits in personnumers with invalid data could be parsed.
- Improve package health score by using pana tool to analyze the code.
- Improve
isCoordinationNumber
to test the date - Make use of
isCoordinationNumber
insidegetAge
to determine the real day.
The one that breaks everything
- Brand new version that follow the new specification.
- Added
isMale
- Added
isFemale
- Improved
format
to replace the separator if it's not matching the full year.
- Added
getAge
- Added
format
- Follows personnummer spec.
- Fix package issue with changelog.
- Add changelog
- Add example
- Use
isEmpty
instead oflength == 0
- Initial version