| Modifier and Type | Field and Description |
|---|---|
static int |
ELEVEN
Eleven.
|
static BigInteger |
MODULO_97
Modulo 97.
|
static int |
TEN
Ten.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isBurgerServiceNummer(String bsn)
Determines whether the supplied number is a valid Dutch "burger service nummer" or BSN.
|
static boolean |
isModulo10(String input)
Determines whether the supplied input is a valid modulo 10 number.
|
static boolean |
isModulo11(long number)
Determines whether the supplied number is a valid modulo 11 number.
|
static boolean |
isModulo11(String number)
Determines whether the supplied number is a valid modulo 11 number.
|
static boolean |
isModulo97(String input)
Checks whether the supplied input adheres to the MOD 97-10 check.
|
static String |
modulo97ToNumeric(String input)
Converts letters and numbers to numbers only.
|
public static final int TEN
public static final int ELEVEN
public static final BigInteger MODULO_97
public static boolean isModulo10(String input)
input - The input to check.public static boolean isModulo11(String number)
number - The number to check.public static boolean isModulo11(long number)
number - The number to check.public static boolean isBurgerServiceNummer(String bsn)
bsn - The "Burger Service Nummer" to check.public static boolean isModulo97(String input)
input - The input to check for modulo-97 adherence.NullPointerException - When the supplied input is null.IllegalArgumentException - When the supplied input contains other characters than: [0-9][A-Z.public static String modulo97ToNumeric(String input)
input - The input to be converted to numbers.NullPointerException - When the supplied input is null.IllegalArgumentException - When the supplied input contains other characters than: [0-9][A-Z].Copyright © 2008–2017. All rights reserved.