QSF XML file backend for gnucash-gnome2-dev branch
linux at codehelp.co.uk
Tue Jan 25 18:50:21 EST 2005
On Tuesday 25 January 2005 10:35 pm, Josh Sled wrote:
> > QSF uses UTC time throughout and uses this time format string:
> > #define QSF_XSD_TIME "%Y-%m-%dT%H:%M:%SZ"
> > The datestring must be timezone independent and include all specified
> > fields.
> To clarify:
The full reference from the documentation is:
QSF uses xsd:dateTime formatting for times. This imposes strict limits on the
formatting of time strings in the QSF XML. xsd:dateTime follows the ISO 8601
standard in the Coordinated Universal Time (UTC) syntax to be timezone
independent. This generates timestamps of the form: 2004-11-29T19:15:34Z -
you can reproduce the same timestamps with the GNC C Library formatting
string %Y-%m-%dT%H:%M:%SZ - remember to use gmtime() NOT localtime()!. From
the command line, use the -u switch with the date command:
date -u +%Y-%m-%dT%H:%M:%SZ
I knew I'd covered it!
This page should answer a lot of queries:
It's linked via the Doxygen output.
BTW. Derek - what do you think about enhancing the Doxygen output by tweaking
the config a little?
EXTRACT_STATIC = YES
EXTRACT_LOCAL_CLASSES = YES
GENERATE_TODOLIST = YES
INLINE_SOURCES = YES
Just todo's and inline sources? Statics would be useful.
Compare and contrast:
I also find this quite useful - it may help with the Gnome2 port to keep tabs:
It just needs \todo in a doxygen comment:
/** \todo FIXME: this is a bug!
while (1) /**< \todo fix this!*/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
Url : http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20050125/c60c2453/attachment.bin
More information about the gnucash-devel