DateValueMatcher
A date value with a comparison operator used as a date range boundary.
Notes
Specifies a date value and a comparison operator (such as before, after, or equals) used as one bound of a date range condition. An optional time zone can be set for accurate date interpretation.
Usage
- YAML
- JSON
- XML
date: string
operator: gt
zoneId: string
{
"date": "string",
"operator": "gt",
"zoneId": "string"
}
<dateValueMatcher>
<date>string</date>
<operator>gt</operator>
<zoneId>string</zoneId>
</dateValueMatcher>
Properties
| Property | Type | Required | Default |
|---|---|---|---|
date | string | No | - |
operator | enum | No | - |
zoneId | string | No | - |
Property Details
date
The date to compare against, absolute or relative.
Absolute dates are written yyyy-MM-dd or yyyy-MM-ddThh:mm:ss[.SSS] — 2015-05-31, 2015-05-31T22:44:15.
Relative dates start from TODAY (current day, no time) or NOW (current day with time), optionally offset by a number of units: NOW-7d for a week ago, TODAY+1M for next month. Units are Y, M, D, h, m, s. Append * — NOW-7d* — to have the reference moment refresh on each evaluation rather than being fixed the first time it is used.
operator
The logical operator used to combine multiple conditions (AND or OR).
Allowed Values
gtgeeqlelt
zoneId
Time zone for this matcher's date when the expression does not carry one. Takes precedence over the condition-level conditionZoneId.