Skip to main content

RecordQueryDayBoundary

@gravity-rail/react


@gravity-rail/react / RecordQueryDayBoundary

Interface: RecordQueryDayBoundary

A calendar-day boundary in the workspace timezone (tz: 'utc' pins it to UTC). day is today, tomorrow, yesterday or an ISO date. With onDay / notOnDay the whole day is used and edge is ignored.

Properties​

day?​

optional day: `${number}-${number}-${number}` | "today" | "tomorrow" | "yesterday"


edge?​

optional edge: "start" | "end"


offsetDays?​

optional offsetDays: number

Shifts the resolved day by whole days (-36500..36500).


type​

type: "dayBoundary"


tz?​

optional tz: "workspace" | "utc"