The CompareDateGen Generator compares two dates using [EQ, NE, LT, LTE, GT, or GTE] and returns a Boolean result.
Example: Compare Two Dates using the Less Than Operator
For this example, two FlexibleDateRangeGen Generators have been added as Linked Generators and will generate the dates that will be compared.
Note: Please note that Attributes may also be referenced for the value1 and value2 Parameters. This example uses Linked Generators to provide a simple use case.
The CompareDateGen Generator references the two FlexibleDateRangeGen Generators:
For this example, a boolean value of "true" will be generated each time date1 is less than or equal to date2. A boolean value of "false" will be generated when date1 is greater than date2.