public abstract class Ahv13Validator
extends Object
Algorithm for validating social security numbers.
-
Method Summary
static boolean
Validates the social_security_nr
regarding its length, position of dots and calculation of the check digit at the end of the number.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
validate
public static boolean validate(String socialSecurityNr)
Validates the social_security_nr
regarding its length, position of dots and calculation of the check digit at the end of the number.