Check if a date/datetime is within an interval
Returns true if the given instant falls within the specified interval (inclusive).
x (Date | Datetime | Vector): The
instant(s) to check.
interval (Interval): The interval
to check against.
True if x is within the interval.