Class DateUtil


  • public final class DateUtil
    extends java.lang.Object
    Defines the date utility
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.time.Instant MAX_TIMESTAMP  
    • Field Detail

      • MAX_TIMESTAMP

        public static final java.time.Instant MAX_TIMESTAMP
    • Method Detail

      • getInstance

        public static DateUtil getInstance()
        Get the instance
        Returns:
        the instance
      • parseDate

        public java.time.Instant parseDate​(java.lang.String input)
        Parse a date
        Parameters:
        input - the input date as string
        Returns:
        the Instant