TimeStringValueTreeNode upperBoundNode = (TimeStringValueTreeNode)getChild(2);
return Predicates.and(
new PathValueEventFilter(
xpath,
new TimeStringValuePredicate(
lowerBoundNode.getValueTimeFormat(),
lowerBoundNode.getInputTimeFormat(),
lowerBoundNode.getValue(),
">=")),
new PathValueEventFilter(
xpath,
new TimeStringValuePredicate(
upperBoundNode.getValueTimeFormat(),
upperBoundNode.getInputTimeFormat(),
upperBoundNode.getValue(),
"<"))
);