44 #ifndef GNC_ACCOUNTING_PERIOD_H
45 #define GNC_ACCOUNTING_PERIOD_H
55 GNC_ACCOUNTING_PERIOD_INVALID = -1,
56 GNC_ACCOUNTING_PERIOD_TODAY,
57 GNC_ACCOUNTING_PERIOD_MONTH,
58 GNC_ACCOUNTING_PERIOD_MONTH_PREV,
59 GNC_ACCOUNTING_PERIOD_QUARTER,
60 GNC_ACCOUNTING_PERIOD_QUARTER_PREV,
61 GNC_ACCOUNTING_PERIOD_CYEAR,
62 GNC_ACCOUNTING_PERIOD_CYEAR_PREV,
63 GNC_ACCOUNTING_PERIOD_CYEAR_LAST,
65 GNC_ACCOUNTING_PERIOD_FYEAR = GNC_ACCOUNTING_PERIOD_CYEAR_LAST,
66 GNC_ACCOUNTING_PERIOD_FYEAR_PREV,
67 GNC_ACCOUNTING_PERIOD_FYEAR_LAST,
68 GNC_ACCOUNTING_PERIOD_LAST = GNC_ACCOUNTING_PERIOD_FYEAR_LAST,
96 const GDate *contains);
118 const GDate *contains);
122 time64 gnc_accounting_period_fiscal_start(
void);
123 time64 gnc_accounting_period_fiscal_end(
void);
Date and Time handling routines.
GDate * gnc_accounting_period_end_gdate(GncAccountingPeriod which, const GDate *fy_end, const GDate *contains)
GDate * gnc_accounting_period_start_gdate(GncAccountingPeriod which, const GDate *fy_end, const GDate *contains)