Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.math.BigInteger; | |
public final class IbanTest { | |
public static final int IBANNUMBER_MIN_SIZE = 15; | |
public static final int IBANNUMBER_MAX_SIZE = 34; | |
public static final BigInteger IBANNUMBER_MAGIC_NUMBER = new BigInteger("97"); | |
public static boolean ibanTest(String accountNumber) { | |
String newAccountNumber = accountNumber.trim(); |