@jsfkit/types
    Preparing search index...

    Type Alias CFDateRule

    CFDateRule: CFStyleRuleBase & {
        period:
            | "today"
            | "yesterday"
            | "tomorrow"
            | "last7Days"
            | "thisMonth"
            | "lastMonth"
            | "nextMonth"
            | "thisWeek"
            | "lastWeek"
            | "nextWeek";
        type: "date";
    }

    Format cells whose date falls in a window relative to today.

    Type Declaration

    • period:
          | "today"
          | "yesterday"
          | "tomorrow"
          | "last7Days"
          | "thisMonth"
          | "lastMonth"
          | "nextMonth"
          | "thisWeek"
          | "lastWeek"
          | "nextWeek"

      Date windows, relative to the current date. Weeks run from Sunday to Saturday. last7Days is today and the six days before it. Time of day is ignored.

    • type: "date"

      Type discriminator.