Class DateUtils


  • public final class DateUtils
    extends Object
    • Method Detail

      • parseDate

        public static Date parseDate​(String format,
                                     String dateString)
        Converts the given string representation of the date using the format pattern.
        Parameters:
        format - the format to use
        dateString - the date string representation
        Returns:
        the Date
        Throws:
        IllegalArgumentException - if the conversion is not possible the DSSException is thrown.