Class DateHelper<T>
java.lang.Object
be.gaudry.model.file.renamer.photo.date.DateHelper<T>
- Author:
- Steph GAUDRY
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFileName(Map<com.thebuzzmedia.exiftool.Tag,String> metadataMap, AbstractBrolWorker<T> bgw, LocalDateTime creationDate)
void
setDateFormat(IPhotoFormat dateFormat)
void
setDateType(PhotoDateType dateType)
void
setTimezone(PhotoZone timezone)
-
Field Details
-
TOKEN_OLDNAME
- See Also:
- Constant Field Values
-
-
Constructor Details
-
DateHelper
public DateHelper()
-
-
Method Details
-
setDateType
- Parameters:
dateType
- the dateType to set
-
setDateFormat
- Parameters:
dateFormat
- the dateFormat to set- Throws:
IllegalArgumentException
- - if the pattern is invalid
-
setTimezone
- Parameters:
timezone
- the timezone to set
-
getDateType
- Returns:
- the dateType
-
getDateTimeFormatter
- Returns:
- the dateTimeFormatter
-
getTimezone
- Returns:
- the timezone
-
getBeZone
- Returns:
- the beZone
-
getFileName
public String getFileName(Map<com.thebuzzmedia.exiftool.Tag,String> metadataMap, AbstractBrolWorker<T> bgw, LocalDateTime creationDate)
-