Checks if a date is within the booking's refundable window.

  • Parameters

    • date: Date

      The date to check.

    • tripStartDate: Date

      The trip start date.

    Returns boolean

    true if the date is within the refundable window, false otherwise.