Class StatisticsUtils


  • public class StatisticsUtils
    extends Object
    Contains helpers that are used in various areas of the statistics package (as UI or export) and did not really fit anywhere else.
    • Constructor Detail

      • StatisticsUtils

        public StatisticsUtils()
    • Method Detail

      • formatTruncatedToHours

        public static String formatTruncatedToHours​(LocalDateTime dateTime,
                                                    DateTimeFormatter formatter)
        Returns:
        a string containing the provided date/time with the hour set to 0 (zero), formatted by the provided formatter.