PESEL.
| Modifier and Type | Field and Description |
|---|---|
| private static final int[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private int | |
| public void | initialize(PESEL
annotation instance for a given constraint declaration constraintAnnotation)Overrides default jakarta. isValid(Object, ConstraintValidatorContext) calls.
|
| public boolean | isCheckDigitValid(List<Integer> digits, char checkDigit)
Implements abstract org. |
| private int | year(int year, int centuryCode)
1800–1899 - 80 1900–1999 - 00 2000–2099 - 20 2100–2199 - 40 2200–2299 - 60 |
| WEIGHTS_PESEL | back to summary |
|---|---|
| private static final int[] WEIGHTS_PESEL | |
| PESELValidator | back to summary |
|---|---|
| public PESELValidator() | |
| doubleDigitNumberFromSubList | back to summary |
|---|---|
| private int doubleDigitNumberFromSubList(List<Integer> digits, int start) | |
| initialize | back to summary |
|---|---|
| public void initialize(PESEL constraintAnnotation) Overrides default jakarta. Doc from jakarta. Initializes the validator in preparation for
This method is guaranteed to be called before any use of this instance for validation. The default implementation is a no-op. | |
| isCheckDigitValid | back to summary |
|---|---|
| public boolean isCheckDigitValid(List<Integer> digits, char checkDigit) Implements abstract org.
| |
| year | back to summary |
|---|---|
| private int year(int year, int centuryCode) 1800–1899 - 80 1900–1999 - 00 2000–2099 - 20 2100–2199 - 40 2200–2299 - 60 | |