Skip to content

DateValue

relationalai.semantics.std
DateValue = Union[Variable, dt.date]

A type representing a date value, which can be a literal datetime.date or a Variable resulting from some other expression which will evaluate to a date.

 semantics > std
├──  datetime
│   └──  date
│       ├──  add
│       ├──  day
│       ├──  dayofyear
│       ├──  diff
│       ├──  format
│       ├──  isoweekday
│       ├──  month
│       ├──  period_days
│       ├──  quarter
│       ├──  range
│       ├──  subtract
│       ├──  to_datetime
│       ├──  week
│       ├──  weekday
│       └──  year
└──  strings
    └──  string