| Modifier and Type | Field and Description |
|---|---|
| private static final Predicate | |
| private static final Predicate | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Optional | checkValue(@Nullable String value)
Checks, if the number String contains a four digit year and ends with it. |
| public static boolean |
| CONTAINS_FOUR_DIGIT | back to summary |
|---|---|
| private static final Predicate<String> CONTAINS_FOUR_DIGIT | |
| ENDS_WITH_FOUR_DIGIT | back to summary |
|---|---|
| private static final Predicate<String> ENDS_WITH_FOUR_DIGIT | |
| PUNCTUATION_MARKS | back to summary |
|---|---|
| private static final String PUNCTUATION_MARKS | |
| YearChecker | back to summary |
|---|---|
| public YearChecker() | |
| checkValue | back to summary |
|---|---|
| public Optional Checks, if the number String contains a four digit year and ends with it. Official bibtex spec: Generally it should consist of four numerals, such as 1984, although the standard styles can handle any year whose last four nonpunctuation characters are numerals, such as ‘(about 1984)’. Source: http://ftp.fernuni-hagen.de/ftp-dir/pub/mirrors/www.ctan.org/biblio/bibtex/base/btxdoc.pdf
| |
| isValueCorrectlyFormatted | back to summary |
|---|---|
| public static boolean isValueCorrectlyFormatted(String value) | |