Purpose: Currently, and in support of Closed Library Due Date Management settings in Loan Policies, FOLIO operates to determine open and closed library periods for service points by querying the calendar API. However, the existing implementation limits the results of the query to the current calendar period. Given that due dates for loans can span beyond a specific period length, and the same condition can be true in the case of loan renewals, FOLIO needs to support the ability to determine the appropriate open date/time for a service point in successive calendar periods.
1. Scenario (Loans)
2. Scenario (Renewals)
3. Scenario (Target date is beyond the next occurring period)
Scenarios that may require separate stories:
4. Scenario (No configured period for target date)