44 #ifndef GNC_ACCOUNTING_PERIOD_H 45 #define GNC_ACCOUNTING_PERIOD_H 59 GNC_ACCOUNTING_PERIOD_INVALID = -1,
60 GNC_ACCOUNTING_PERIOD_TODAY,
61 GNC_ACCOUNTING_PERIOD_MONTH,
62 GNC_ACCOUNTING_PERIOD_MONTH_PREV,
63 GNC_ACCOUNTING_PERIOD_QUARTER,
64 GNC_ACCOUNTING_PERIOD_QUARTER_PREV,
65 GNC_ACCOUNTING_PERIOD_CYEAR,
66 GNC_ACCOUNTING_PERIOD_CYEAR_PREV,
67 GNC_ACCOUNTING_PERIOD_CYEAR_LAST,
69 GNC_ACCOUNTING_PERIOD_FYEAR = GNC_ACCOUNTING_PERIOD_CYEAR_LAST,
70 GNC_ACCOUNTING_PERIOD_FYEAR_PREV,
71 GNC_ACCOUNTING_PERIOD_FYEAR_LAST,
72 GNC_ACCOUNTING_PERIOD_LAST = GNC_ACCOUNTING_PERIOD_FYEAR_LAST,
100 const GDate *contains);
123 const GDate *contains);
127 time64 gnc_accounting_period_fiscal_start (
void);
128 time64 gnc_accounting_period_fiscal_end (
void);
Date and Time handling routines.
GncAccountingPeriod
This specifies a time interval.
GDate * gnc_accounting_period_end_gdate(GncAccountingPeriod which, const GDate *fy_end, const GDate *contains)
This function returns the ending date for an accounting period.
GDate * gnc_accounting_period_start_gdate(GncAccountingPeriod which, const GDate *fy_end, const GDate *contains)
This function returns the starting date for an accounting period.
gint64 time64
Most systems that are currently maintained, including Microsoft Windows, BSD-derived Unixes and Linux...