relativeDate property

String? relativeDate
getter/setter pair

A relative date (based on the current date).

Valid only if the type is DATE_BEFORE, DATE_AFTER, DATE_ON_OR_BEFORE or DATE_ON_OR_AFTER. Relative dates are not supported in data validation. They are supported only in conditional formatting and conditional filters. Possible string values are:

  • "RELATIVE_DATE_UNSPECIFIED" : Default value, do not use.
  • "PAST_YEAR" : The value is one year before today.
  • "PAST_MONTH" : The value is one month before today.
  • "PAST_WEEK" : The value is one week before today.
  • "YESTERDAY" : The value is yesterday.
  • "TODAY" : The value is today.
  • "TOMORROW" : The value is tomorrow.

Implementation

core.String? relativeDate;