public class DateParser
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
DateParser() |
Modifier and Type | Method and Description |
---|---|
static java.util.Calendar |
parseDate(java.lang.String strVal) |
static java.time.LocalDate |
parseLocalDate(java.lang.String strVal)
Parses a date from a string.
|
public static java.time.LocalDate parseLocalDate(java.lang.String strVal) throws EvaluationException
strVal
- a string with a date pattern.EvaluationException
- exception upon parsing.public static java.util.Calendar parseDate(java.lang.String strVal) throws EvaluationException
EvaluationException
Copyright 2022 The Apache Software Foundation or its licensors, as applicable.