Remove Timespec from pricedb.

Includes removing the time64 specialized functions because the regular ones
handle time64 now.
This commit is contained in:
John Ralls
2018-08-02 15:46:27 -07:00
parent 92a8cf330a
commit fee589b28c
18 changed files with 329 additions and 391 deletions

View File

@@ -375,10 +375,10 @@ class GncPriceDB(GnuCashCoreClass):
GncPriceDB.add_methods_with_prefix('gnc_pricedb_')
PriceDB_dict = {
'lookup_latest' : GncPrice,
'lookup_nearest_in_time' : GncPrice,
'lookup_latest_before' : GncPrice,
'lookup_nearest_in_time64' : GncPrice,
'lookup_latest_before_t64' : GncPrice,
'convert_balance_latest_price' : GncNumeric,
'convert_balance_nearest_price' : GncNumeric,
'convert_balance_nearest_price_t64' : GncNumeric,
}
methods_return_instance(GncPriceDB,PriceDB_dict)
GncPriceDB.get_prices = method_function_returns_instance_list(