personnummer_dart 3.1.1
personnummer_dart: ^3.1.1 copied to clipboard
Validate Swedish personal identity numbers with Dart and Flutter.
3.1.1 #
- Published as
personnummer_dartunder the personnummer.dev publisher. This package replacespersonnummer, whose publisher could not be accessed after the original owner passed away. To migrate, change the dependency and the import topackage:personnummer_dart/personnummer_dart.dart. The API is unchanged.
3.1.0 #
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
isInterimNumberfunction - Added
getDatefunction
3.0.4 #
- Fixed whitespace separator issue, see personnummer/meta#41
3.0.3 #
- Fixed an issue where last four digits in personnumers with invalid data could be parsed.
3.0.1 #
- Improve
isCoordinationNumberto test the date - Make use of
isCoordinationNumberinsidegetAgeto determine the real day.
3.0.0 #
The one that breaks everything
- Brand new version that follow the new specification.
2.1.0 #
- Added
isMale - Added
isFemale - Improved
formatto replace the separator if it's not matching the full year.
2.0.0 #
- Added
getAge - Added
format - Follows personnummer spec.
1.0.2 #
- Fix package issue with changelog.
1.0.1 #
- Add changelog
- Add example
- Use
isEmptyinstead oflength == 0
1.0.0 #
- Initial version