You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| timestamp with time zone | interval day to second |
1116
+
| timestamp with time zone | interval year to month |
1117
+
| timestamp with local time zone | interval day to second |
1118
+
| timestamp with local time zone | interval year to month |
1106
1119
1107
-
Matcher for numbers will calculate a absolute distance between expected and actual and check whether that value is within a tolerance.
1108
1120
1109
-
When comparing a date a distance is measured in interval, the check is done that actual value is within date range of expected taking into account interval plus and minus.
1121
+
The distance can be expressed as a postive number or positive interval.
1122
+
1123
+
>Note:
1124
+
> Interval year-to-moth as a distance is giving sucess if the distance between the given dates/timestamps evaluates to value less or equal of the specified interval
1125
+
> Keep in mind that a distance of `interval '0-1' year to month` will actuall be successful if the distance isnot greater than a month and a half.
1126
+
> This is due to how oracle evaluates conversion between timestamp difference converted to `year to month interval`.
0 commit comments