mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
arghhhh
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@1465 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -204,7 +204,16 @@ xaccQuerySetMaxSplits (Query *q, int max)
|
||||
/* ================================================== */
|
||||
|
||||
void
|
||||
xaccQuerySetDateRange (Query *q, long long early, long long late)
|
||||
xaccQuerySetDateRange (Query *q, time_t early, time_t late)
|
||||
{
|
||||
if (!q) return;
|
||||
q->changed = 1;
|
||||
q->earliest.tv_sec = early;
|
||||
q->latest.tv_sec = late;
|
||||
}
|
||||
|
||||
void
|
||||
xaccQuerySetDateRangeL (Query *q, long long early, long long late)
|
||||
{
|
||||
if (!q) return;
|
||||
q->changed = 1;
|
||||
|
||||
@@ -65,7 +65,10 @@ void xaccQuerySetMaxSplits (Query *, int);
|
||||
* that are within this date range. The arguments "earliest"
|
||||
* and "latest" are seconds before or since 00:00:00 Jan 1 1970.
|
||||
*/
|
||||
void xaccQuerySetDateRange (Query *, long long earliest, long long latest);
|
||||
void xaccQuerySetDateRange (Query *, time_t earliest, time_t latest);
|
||||
#ifndef SWIG /* swig chokes on long long */
|
||||
void xaccQuerySetDateRangeL (Query *, long long earliest, long long latest);
|
||||
#endif
|
||||
|
||||
/* The xaccQuerySetSortOrder() method sets the sort order that
|
||||
* should be used on the splits. The three arguments should
|
||||
|
||||
Reference in New Issue
Block a user