public static MoneyBag MoneyBagForTag(this TranWithTags tran, Account tag, Period period) { return(period.ContainsButTimeNotChecking(tran.Timestamp) ? MoneyBagForTag(tran, tag) : null); }
public static decimal AmountForTag(this TranWithTags tran, Account tag, CurrencyCodes?currency, Period period) { return(period.ContainsButTimeNotChecking(tran.Timestamp) ? AmountForAccount(tran, tag, currency) : 0); }