| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public String | getDescription()
Implements abstract org. Returns a description of the formatter. |
| public String | getExampleInput()
Implements abstract org. Returns an example input string of the formatter. |
| public String | getKey()
Implements abstract org. Returns a unique key for the formatter that can be used for its identification |
| public String | getName()
Implements abstract org. Returns a human readable name of the formatter usable for e.g. in the GUI |
| NormalizeDateFormatter | back to summary |
|---|---|
| public NormalizeDateFormatter() | |
| format | back to summary |
|---|---|
| public String format(@NonNull String value) Format date string to yyyy-mm-dd or yyyy-mm. Keeps the existing String if it does not match one of the following formats: "M/y" (covers 9/15, 9/2015, and 09/2015) "MMMM (dd), yyyy" (covers September 1, 2015 and September, 2015) "yyyy-MM-dd" (covers 2009-1-15) "d.M.uuuu" (covers 15.1.2015)
| |
| getDescription | back to summary |
|---|---|
| public String getDescription() Implements abstract org. Doc from org. Returns a description of the formatter.
| |
| getExampleInput | back to summary |
|---|---|
| public String getExampleInput() Implements abstract org. Doc from org. Returns an example input string of the formatter. This example is used as input to the formatter to demonstrate its functionality
| |
| getKey | back to summary |
|---|---|
| public String getKey() Implements abstract org. Doc from org. Returns a unique key for the formatter that can be used for its identification
| |
| getName | back to summary |
|---|---|
| public String getName() Implements abstract org. Doc from org. Returns a human readable name of the formatter usable for e.g. in the GUI
| |