Class DateFormatServiceImpl

    • Field Detail


        public static final org.joda.time.format.DateTimeFormatter ADG_DATE_FORMATTER
    • Method Detail

      • getFormattedDateByUserLocale

        public String getFormattedDateByUserLocale​(org.joda.time.LocalDateTime date)
        Description copied from interface: DateFormatService
        Format the given date in an appropriate format according to the user's locale. This can be used to display date to the user. Note that this does not perform timezone conversion.
        Specified by:
        getFormattedDateByUserLocale in interface DateFormatService
        date - the date to format
        the date formatted accordingly in the current user's locale