Class DateHelper<T>

java.lang.Object
be.gaudry.model.file.renamer.photo.date.DateHelper<T>

public class DateHelper<T> extends Object
Author:
Steph GAUDRY
  • Field Details

  • Constructor Details

    • DateHelper

      public DateHelper()
  • Method Details

    • setDateType

      public void setDateType(PhotoDateType dateType)
      Parameters:
      dateType - the dateType to set
    • setDateFormat

      public void setDateFormat(IPhotoFormat dateFormat)
      Parameters:
      dateFormat - the dateFormat to set
      Throws:
      IllegalArgumentException - - if the pattern is invalid
    • setTimezone

      public void setTimezone(PhotoZone timezone)
      Parameters:
      timezone - the timezone to set
    • getDateType

      public PhotoDateType getDateType()
      Returns:
      the dateType
    • getDateTimeFormatter

      public DateTimeFormatter getDateTimeFormatter()
      Returns:
      the dateTimeFormatter
    • getTimezone

      public PhotoZone getTimezone()
      Returns:
      the timezone
    • getBeZone

      public ZoneId getBeZone()
      Returns:
      the beZone
    • getFileName

      public String getFileName(Map<com.thebuzzmedia.exiftool.Tag,​String> metadataMap, AbstractBrolWorker<T> bgw, LocalDateTime creationDate)