Skip to main content
Table of Contents

TTMSFNCDataGridDateInterval Enumeration

Relative date bucket used by a grtDate rule.

API unit family: TMSFNCDataGridConditionalFormatting

Remarks

Set through TTMSFNCDataGridFormatRuleItem.DateInterval. Relative buckets are resolved against the current system date each time a cell is evaluated, and only the date portion of the cell value is compared. Weeks run from Monday to Sunday.

Members

Name Description
diToday The current day.
diYesterday The day before the current day.
diTomorrow The day after the current day.
diThisWeek The current calendar week.
diLastWeek The calendar week before the current week.
diNextWeek The calendar week after the current week.
diThisMonth The current calendar month.
diLastMonth The calendar month before the current month.
diNextMonth The calendar month after the current month.
diThisYear The current calendar year.
diCustomRange The value falls in the explicit range DateFrom..DateTo, both inclusive. A bound of 0 leaves that side open; with both bounds 0 the rule matches nothing.