Skip to main content

BusinessRuleDateExpressionOperators

Temporal comparison operators for date and time-based business rule expressions.

Dates and times are evaluated in UTC: today is the current UTC day (00:00:00 to 23:59:59 UTC), now is the current moment, and days of the week, days of the month, months and times of day are UTC values.

enum BusinessRuleDateExpressionOperators {
before
after
beforeDaysFromToday
afterDaysFromToday
onDaysFromToday
beforeMinutesFromNow
afterMinutesFromNow
onMinutesFromNow
onDayOfWeek
onDayOfMonth
onMonthOfYear
onTime
beforeTime
afterTime
}

Values​

BusinessRuleDateExpressionOperators.before​

Check if date is before specified date value

BusinessRuleDateExpressionOperators.after​

Check if date is after specified date value

BusinessRuleDateExpressionOperators.beforeDaysFromToday​

Check if date is before a specified number of days from today (days in UTC)

BusinessRuleDateExpressionOperators.afterDaysFromToday​

Check if date is after a specified number of days from today (days in UTC)

BusinessRuleDateExpressionOperators.onDaysFromToday​

Check if date matches exactly a specified number of days from today (days in UTC)

BusinessRuleDateExpressionOperators.beforeMinutesFromNow​

Check if datetime is before a specified number of minutes from current time

BusinessRuleDateExpressionOperators.afterMinutesFromNow​

Check if datetime is after a specified number of minutes from current time

BusinessRuleDateExpressionOperators.onMinutesFromNow​

Check if datetime matches exactly a specified number of minutes from current time

BusinessRuleDateExpressionOperators.onDayOfWeek​

Check if date falls on a specific day of the week in UTC (1-7, Monday=1)

BusinessRuleDateExpressionOperators.onDayOfMonth​

Check if date falls on a specific day of the month in UTC (1-31)

BusinessRuleDateExpressionOperators.onMonthOfYear​

Check if date falls within a specific month of the year in UTC (1-12)

BusinessRuleDateExpressionOperators.onTime​

Check if time component matches specified time value, both in UTC

BusinessRuleDateExpressionOperators.beforeTime​

Check if time component is before specified time value, both in UTC

BusinessRuleDateExpressionOperators.afterTime​

Check if time component is after specified time value, both in UTC

Member Of​

BusinessRuleDateExpression object ● BusinessRuleDateExpressionInput input