Greetings,

This question points to my weak understanding of C++, but perhaps you
will let me impose on you for help.


How does soffice.bin get from
connectivity/source/drivers/odbcbase/OResultSet.cxx line 659, which
reads

    (DateTime) aValue;

(where aValue is a TIMESTAMP_STRUCT) to
solver/300/unxlngi6/inc/offuh/com/sun/star/util/DateTime.hpp line 34?
The latter line is a constructor of DateTime from seven sal_uInt16's
providing values for the subfields from year down to centiseconds.
Under gdb, I see it happen in one 'step'; perhaps I just need to bring
in the right file with debugging symbols.


This silly question arises because I am looking at issue 94543
<http://www.openoffice.org/issues/show_bug.cgi?id=94543>.

I observe in my attachement
<http://www.openoffice.org/nonav/issues/showattachment.cgi/68434/example_DEV300_m75.ods>
that the value
    1990-03-02 08:30:00.1000000 
is being shown as
    1990-03-02 08:39:54
I observe further that the fraction of a second comes from
SQLGetData() as 10,000,000 nanoseconds, and that (100000000 * 1000)
modulo 65536 is 59392, and that 59392 centiseconds is the error in the
displayed value.


Cheers,
Terry.



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@dba.openoffice.org
For additional commands, e-mail: dev-h...@dba.openoffice.org

Reply via email to