Package org.apache.poi.ss.formula.atp
Class DateParser
- java.lang.Object
-
- org.apache.poi.ss.formula.atp.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.
-
-
-
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.
-
-