Creates a new account balance query structure with the provided sort descriptors.
- parameters:
- sortDescriptors: An array of ``AccountBalance`` sort descriptors.
- predicate: A <doc://com.apple.documentation/documentation/foundation/predicate>
to filter the `Account` records with.
- limit: An integer that indicates the maximum number of records to return.
- offset: An integer that indicates the number of records to offset the result by.
A predicate that returns booked account balances since a specified date until another date.
- Parameters:
- startDate: The date to start collecting account balances.
- endDate: The date to end collection account balances. This parameter is optional. If
this parameter isn't included,
the method returns all account balances since the `startDate`.
A predicate that returns available account balances since a specified date, and, optionally,
until another date.
- Parameters:
- startDate: The date to start collecting account balances.
- endDate: The date to end collection account balances. This parameter is optional. If
this parameter isn't included,
the method returns all account balances since the `startDate`.