predicate(bookedSince:until:)
A predicate that returns booked account balances since a specified date until another date.
Declaration
static func predicate(bookedSince startDate: Date, until endDate: Date? = nil) -> Predicate<AccountBalance>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.