Class ConcurrentDateFormatAccess


  • public class ConcurrentDateFormatAccess
    extends Object
    Da der SimpleDateFormat nicht Threadsafe ist wird ein ThreadLocal verwendet um dies sicher zu stellen.
    Author:
    Klaus Buchwald
    • Constructor Detail

      • ConcurrentDateFormatAccess

        public ConcurrentDateFormatAccess()
    • Method Detail

      • convert

        public String convert​(Date date)
        Konvertiert ein Date zu einem String. Dabei wird folgendes Pattern verwendet: Config.DATE_FORMAT
        Parameters:
        date - Date
        Returns:
        String von der Form Config.DATE_FORMAT