I am parsing the rule from decision table using DMN Model Api.
I need to parse the date range expression into FROM and TO dates separately
Below is sample expression.
[date and time(“2020-07-16T00:00:00”)…date and time(“2220-08-16T00:00:00”)]
Not sure if I understood the question correctly, is this in the context of an inputEntry
? if you are specifying this via the DMN Java model API, you need to make sure that the quotes are escaped correctly -
"[date and time(\"2020-07-16T00:00:00\")..date and time(\"2220-08-16T00:00:00\")]"
.
Did you try this?