Esempio n. 1
0
time64
gnc_accounting_period_fiscal_start(void)
{
    time64 t;
    GDate *fy_end = get_fy_end();
    t = lookup_start_date_option(fy_end);
    if (fy_end)
        g_date_free(fy_end);
    return t;
}
time64
gnc_accounting_period_fiscal_start(void)
{
    time64 t;
    GDate *fy_end = get_fy_end();
    t = lookup_start_date_option(GCONF_SECTION, KEY_START_CHOICE,
                                 KEY_START_DATE, KEY_START_PERIOD, fy_end);
    if (fy_end)
        g_date_free(fy_end);
    return t;
}