Only date time expression should be valid in the left hand of ECQL temporal predicate

Description

The ECQL syntax allows a temporal expression in the left hand of temporal predicates, but the current implementation permits a math expression which is incorrect:
Examples:
correct temporal expression: 2006-11-30T01:00:00Z BEFORE 2006-11-30T01:30:00Z

incorrect temporal expression: (1+2) BEFORE 2006-11-30T01:30:00Z

Environment

None

Assignee

Unassigned

Reporter

codehaus

Triage

None

Components

Affects versions

Priority

Medium
Configure