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,
Christian Stimming <[EMAIL PROTECTED]> writes:
> Am Sonntag, 23. Dezember 2007 18:49 schrieb Derek Atkins:
>> Quoting Andreas Köhler <[EMAIL PROTECTED]>:
>> > Hi Phil,
>> >
>> > Am Freitag, den 21.12.2007, 20:10 -0500 schrieb Phil Longstaff:
>> >> 2) Now that GDates are used, is there any reason t
Am Sonntag, 23. Dezember 2007 18:49 schrieb Derek Atkins:
> Quoting Andreas Köhler <[EMAIL PROTECTED]>:
> > Hi Phil,
> >
> > Am Freitag, den 21.12.2007, 20:10 -0500 schrieb Phil Longstaff:
> >> 2) Now that GDates are used, is there any reason that Timespec couldn't
> >> be replaced by GDate everywh
Quoting Andreas Köhler <[EMAIL PROTECTED]>:
> Hi Phil,
>
> Am Freitag, den 21.12.2007, 20:10 -0500 schrieb Phil Longstaff:
>> 2) Now that GDates are used, is there any reason that Timespec couldn't
>> be replaced by GDate everywhere?
>
> GDates only support dates, but no times. So is the question
Derek Atkins wrote:
> Phil Longstaff <[EMAIL PROTECTED]> writes:
>
>
>> Two questions:
>>
>> 1) Can anyone tell me why gnc_price_set_time() takes a Timespec passed
>> by value but the routines in Transaction.h which take Timespecs are
>> passed by reference? It would simplify the gda backend
Hi Phil,
Am Freitag, den 21.12.2007, 20:10 -0500 schrieb Phil Longstaff:
> 2) Now that GDates are used, is there any reason that Timespec couldn't
> be replaced by GDate everywhere?
GDates only support dates, but no times. So is the question is whether
we we want to support only whole days.
--
Phil Longstaff <[EMAIL PROTECTED]> writes:
> Two questions:
>
> 1) Can anyone tell me why gnc_price_set_time() takes a Timespec passed
> by value but the routines in Transaction.h which take Timespecs are
> passed by reference? It would simplify the gda backend if they were
> always passed the
Two questions:
1) Can anyone tell me why gnc_price_set_time() takes a Timespec passed
by value but the routines in Transaction.h which take Timespecs are
passed by reference? It would simplify the gda backend if they were
always passed the same way (either by value or by reference, but not bot