The syntax below can be used to express time in the complex event processing language.
[yearPart] [monthPart] [weekPart] [dayPart] [hourPart] [minutePart] [secondsPart] [millisecondsPart]
These parts have the syntax below. No parts can be omitted.
yearPart: numeric (years | year)
monthPart: numeric (months | month)
weekPart: numeric (weeks | week)
dayPart: numeric (days | day)
hourPart: numeric (hours | hour)
minutePart: numeric (minutes | minute | min)
secondsPart: numeric (seconds | second | sec)
millisecondsPart: numeric (milliseconds | millisecond | msec)
Point
Either the singular or plural form can be used for the units of these parts, but that is merely for description convenience. Complex Event Processing does not check English grammar.
In the monthPart, one month is equivalent to 30 days.
Information
As with Java, Complex Event Processing internally handles times as long values indicating the number of milliseconds from January 1, 1970, 00:00:00 GMT.