Class DateParser


  • public class DateParser
    extends java.lang.Object
    Parser for java dates.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.Calendar parseDate​(java.lang.String strVal)
      Parses a date from a string.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • parseDate

        public static java.util.Calendar parseDate​(java.lang.String strVal)
                                            throws EvaluationException
        Parses a date from a string.
        Parameters:
        strVal - a string with a date pattern.
        Returns:
        a date parsed from argument.
        Throws:
        EvaluationException - exception upon parsing.