Verified Owner
Top Fields Constructors Methods
org.jabref.logic.preferences

public Class TimestampPreferences

extends Object
Class Inheritance
Imports
java.time.LocalDateTime, java.time.format.DateTimeFormatter, java.time.temporal.ChronoUnit, javafx.beans.property.BooleanProperty, .SimpleBooleanProperty, org.jabref.model.entry.field.Field, .StandardField

Field Summary

Modifier and TypeField and Description
private final BooleanProperty
private final BooleanProperty
private final Field
private final String
private final boolean

Constructor Summary

AccessConstructor and Description
public
TimestampPreferences(boolean addCreationDate, boolean addModificationDate, boolean updateTimestamp, Field timestampField, String timestampFormat)

private

Method Summary

Modifier and TypeMethod and Description
public BooleanProperty
public BooleanProperty
public static TimestampPreferences
public Field
getTimestampField()
Deprecated

Required for migration only.

public String
getTimestampFormat()
Deprecated

Required for migration only.

public String
now()

public void
setAddCreationDate(boolean addCreationDate)

public void
setAddModificationDate(boolean addModificationDate)

public boolean
public boolean
public boolean
shouldUpdateTimestamp()
Deprecated

Required for migration only.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

addCreationDateback to summary
private final BooleanProperty addCreationDate
addModificationDateback to summary
private final BooleanProperty addModificationDate
timestampFieldback to summary
private final Field timestampField
timestampFormatback to summary
private final String timestampFormat
updateTimestampback to summary
private final boolean updateTimestamp

Constructor Detail

TimestampPreferencesback to summary
public TimestampPreferences(boolean addCreationDate, boolean addModificationDate, boolean updateTimestamp, Field timestampField, String timestampFormat)
TimestampPreferencesback to summary
private TimestampPreferences()

Method Detail

addCreationDatePropertyback to summary
public BooleanProperty addCreationDateProperty()
addModificationDatePropertyback to summary
public BooleanProperty addModificationDateProperty()
getDefaultback to summary
public static TimestampPreferences getDefault()
getTimestampFieldback to summary
public Field getTimestampField()

Deprecated

Required for migration only.

Annotations
@Deprecated
getTimestampFormatback to summary
public String getTimestampFormat()

Deprecated

Required for migration only.

Annotations
@Deprecated
nowback to summary
public String now()
setAddCreationDateback to summary
public void setAddCreationDate(boolean addCreationDate)
setAddModificationDateback to summary
public void setAddModificationDate(boolean addModificationDate)
shouldAddCreationDateback to summary
public boolean shouldAddCreationDate()
shouldAddModificationDateback to summary
public boolean shouldAddModificationDate()
shouldUpdateTimestampback to summary
public boolean shouldUpdateTimestamp()

Deprecated

Required for migration only.

Annotations
@Deprecated