If the legacy pre-5.3 updateTimestamp setting is enabled, the timestamp field for each entry are migrated to the date-modified field. Otherwise, it is migrated to the date-added field.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public List | cleanup(BibEntry entry)
Implements org. Cleans up the given entry and returns the list of changes made. |
| private Optional | |
| private int |
| sourceField | back to summary |
|---|---|
| private final Field sourceField | |
| targetField | back to summary |
|---|---|
| private final Field targetField | |
| TimestampToDateField | back to summary |
|---|---|
| public TimestampToDateField(Field source, Field target) | |
| cleanup | back to summary |
|---|---|
| public List Implements org. Doc from org. Cleans up the given entry and returns the list of changes made.
| |
| formatTimeStamp | back to summary |
|---|---|
| private Optional Formats the time stamp into the local date and time format. If the existing timestamp could not be parsed, the day/month/year "1" is used. For the time portion 00:00:00 is used. | |
| getMonth | back to summary |
|---|---|
| private int getMonth(Date date) Returns the month value of the passed date if available. Otherwise, returns the current month. | |