mirror of
https://github.com/Gnucash/gnucash.git
synced 2026-07-30 08:08:15 -05:00
Switch core SX instance generation from FreqSpec to Recurrence.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15605 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -502,7 +502,7 @@ xaccSchedXactionGetNextInstance( SchedXaction *sx, void *stateData )
|
||||
}
|
||||
}
|
||||
|
||||
xaccFreqSpecGetNextInstance( sx->freq, &last_occur, &next_occur );
|
||||
recurrenceListNextInstance(sx->schedule, &last_occur, &next_occur);
|
||||
|
||||
/* out-of-bounds check */
|
||||
if ( xaccSchedXactionHasEndDate( sx ) ) {
|
||||
@@ -551,7 +551,7 @@ xaccSchedXactionGetInstanceAfter( SchedXaction *sx,
|
||||
g_date_subtract_days( &prev_occur, 1 );
|
||||
}
|
||||
|
||||
xaccFreqSpecGetNextInstance( sx->freq, &prev_occur, &next_occur );
|
||||
recurrenceListNextInstance(sx->schedule, &prev_occur, &next_occur);
|
||||
|
||||
if ( xaccSchedXactionHasEndDate( sx ) ) {
|
||||
GDate *end_date;
|
||||
|
||||
Reference in New Issue
Block a user