TAMS Club Calendar Frontend Documentation
    Preparing search index...

    Function parseReservations

    • Function to break up reservations by day and filter out reservations outside of the defined time range.

      Parameters

      • reservationList: CalEvent[]

        List of reservations

      • date: Dayjs

        Date to get reservations; this can be any day in the week (or month if useMonth)

      • useMonth: boolean = false

        If true, will return a list of reservations within the current month

      • Optionalroom: Room

        Room object, required if useMonth is true

      Returns Element[]

      List of ReservationDay elements for each reservation set