Class UserPortalDateUtils


  • public class UserPortalDateUtils
    extends Object
    Since:
    8.4.0
    Author:
    XIMA MEDIA GmbH
    • Constructor Detail

      • UserPortalDateUtils

        public UserPortalDateUtils()
    • Method Detail

      • formatOffsetTimestampToReadableString

        public static String formatOffsetTimestampToReadableString​(OffsetDateTime offsetDateTime,
                                                                   Locale locale,
                                                                   boolean shortFormat)
        Formats an offset date time to a readable string.
        Parameters:
        offsetDateTime - The offset date time to format.
        locale - The locale to use for formatting.
        shortFormat - Whether to use a short format.
        Returns:
        The formatted date time.