Skip to content

personnummer/scala

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 

personnummer Build Status

Validate Swedish personal identity numbers. Follows version 3 of the specification.

Example

import personnummer.Personnummer

Personnummer.valid("198507099805")
//=> true

Test locally with docker

docker run -it --rm -v ~/.ivy2:/root/.ivy2 -v ~/.sbt:/root/.sbt -v $PWD:/app -w /app mozilla/sbt sbt test

License

MIT