Timespecs & GDates

Andreas Köhler andi5.py at gmx.net
Sat Jan 5 12:38:32 EST 2008


Hi,

Am Montag, den 24.12.2007, 16:29 -0500 schrieb Derek Atkins:
> Does gdate have the concept of less-than-or-equal?  With a Timespec
> (or time_t) it's easy to just add 12 hours to the "day" and use that
> as the comparison to make sure I get everything on the right day.

g_date_compare (early, late) <= 0 should do the trick.

-- andi5




More information about the gnucash-devel mailing list