| Modifier and Type | Field and Description |
|---|---|
| public static final Month | |
| public static final Month | |
| public static final Month | |
| public static final Month | |
| private final String | |
| public static final Month | |
| public static final Month | |
| public static final Month | |
| public static final Month | |
| public static final Month | |
| public static final Month | |
| private final int | |
| public static final Month | |
| public static final Month | |
| private final String | |
| private final String |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public String | |
| public static Optional | |
| public static Optional | getMonthByShortName(String
"jan", "feb", ... shortName)Find month by shortName (3 letters) case-insensitive. |
| public int | Returns: number of the month in the YearReturns the number of the Month in a 1-indexed fashion: 1 -> January, 2 -> February etc. |
| public String | Returns: 3-letter identifier for a MonthReturns the name of a Month in a short (3-letter) format. |
| public String | Returns: number of the month in the Year with two digitsReturns the number of the Month in a 1-indexed fashion using exactly two digits: 01 -> January, 02 -> February... |
| public static boolean | Returns: true if the value matches the strict format criteriathe string value to check value)Checks if the value is in a strict BibTeX format. |
| public static Optional | |
| pack-priv static Optional | Returns: the corresponding month instance, empty if input is not in German forma String that represents a month in German form value)Parses a month having the string in German standard form such as "Oktober" or in German short form such as "Okt" |
| public static Month | |
| public static Month[] |
| APRIL | back to summary |
|---|---|
| public static final Month APRIL | |
| AUGUST | back to summary |
|---|---|
| public static final Month AUGUST | |
| DECEMBER | back to summary |
|---|---|
| public static final Month DECEMBER | |
| FEBRUARY | back to summary |
|---|---|
| public static final Month FEBRUARY | |
| fullName | back to summary |
|---|---|
| private final String fullName | |
| JANUARY | back to summary |
|---|---|
| public static final Month JANUARY | |
| JULY | back to summary |
|---|---|
| public static final Month JULY | |
| JUNE | back to summary |
|---|---|
| public static final Month JUNE | |
| MARCH | back to summary |
|---|---|
| public static final Month MARCH | |
| MAY | back to summary |
|---|---|
| public static final Month MAY | |
| NOVEMBER | back to summary |
|---|---|
| public static final Month NOVEMBER | |
| number | back to summary |
|---|---|
| private final int number | |
| OCTOBER | back to summary |
|---|---|
| public static final Month OCTOBER | |
| SEPTEMBER | back to summary |
|---|---|
| public static final Month SEPTEMBER | |
| shortName | back to summary |
|---|---|
| private final String shortName | |
| twoDigitNumber | back to summary |
|---|---|
| private final String twoDigitNumber | |
| Month | back to summary |
|---|---|
| private Month(String fullName, String shortName, int number) | |
| getFullName | back to summary |
|---|---|
| public String getFullName() Returns the name of the long in unabbreviated English.
| |
| getJabRefFormat | back to summary |
|---|---|
| public String getJabRefFormat() Returns the month in JabRef format. The format is the short 3-digit name surrounded by a '#' (FieldWriter.BIBTEX_STRING_START_END_SYMBOL). Example: #jan#, #feb#, etc. See Issue 263 for a discussion on that thing. This seems to be an invalid format in terms of plain BiBTeX, but a valid format in the case of JabRef. The documentation is available at the Strings help of JabRef.
| |
| getMonthByNumber | back to summary |
|---|---|
| public static Optional Find month by one-based number. If the number is not in the valid range, then an empty Optional is returned.
| |
| getMonthByShortName | back to summary |
|---|---|
| public static Optional Find month by shortName (3 letters) case-insensitive. If no matching month is found, then an empty Optional is returned.
| |
| getNumber | back to summary |
|---|---|
| public int getNumber() Returns the number of the Month in a 1-indexed fashion: 1 -> January, 2 -> February etc.
| |
| getShortName | back to summary |
|---|---|
| public String getShortName() Returns the name of a Month in a short (3-letter) format. (jan, feb, mar, ...)
| |
| getTwoDigitNumber | back to summary |
|---|---|
| public String getTwoDigitNumber() Returns the number of the Month in a 1-indexed fashion using exactly two digits: 01 -> January, 02 -> February...
| |
| isStrictFormat | back to summary |
|---|---|
| public static boolean isStrictFormat(String value) Checks if the value is in a strict BibTeX format. A strict format is either a BibTeX string (e.g.
| |
| parse | back to summary |
|---|---|
| public static Optional This method accepts three types of months:
| |
| parseGermanShortMonth | back to summary |
|---|---|
| pack-priv static Optional Parses a month having the string in German standard form such as "Oktober" or in German short form such as "Okt" | |
| valueOf | back to summary |
|---|---|
| public static Month valueOf(String name) | |
| values | back to summary |
|---|---|
| public static Month[] values() | |