fix a warning (at least for GCC 7)
Result of "make format".
GWEN_DATE: Major speedup of GWEN_Date_dup (about factor 16).
This function is called very often from AqFinance, so optimizing thisfunction has quite an impact.
Added functions GWEN_Date_AddDays() and GWEN_Date_SubDays().
Added function GWEN_Date_fromLocalTime().
OS: Decreased verbosity level in GWEN_DATE.
Minor improved error message output of date parsing.
Re-indentation of source code to get a unified look of the source.
This was done using astyle-2.03 with the following command:
astyle --style=java --indent=spaces=2 --break-closing-brackets --keep-one-line-blocks --suffix=none --recursive 'src/*.h' 'src/*.c' 'gui/*.h*' 'gui/*.c*'...
Fixed a bug in quarter year calculations.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2308 70169cfe-8b10-0410-8925-dcb4b91034d8
Safe guard against invalid argument to GWEN_Date_GetThisMonthEnd() (Elias Oltmanns)
The compiler warns about the use of a possibly uninitialised variable.Since this function is part of the public API, sane arguments can,indeed, not be taken for granted and precautionary steps are in order....
Fixed typos.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2252 70169cfe-8b10-0410-8925-dcb4b91034d8
Added some convenience functions to GWEN_DATE module.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2249 70169cfe-8b10-0410-8925-dcb4b91034d8
Added functions for GWEN_DATE.
Those functions are needed for the typemaker1 tool to be able to createstructures which contain a GWEN_DATE.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2242 70169cfe-8b10-0410-8925-dcb4b91034d8
Fixed some typos found by lintian
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2193 70169cfe-8b10-0410-8925-dcb4b91034d8
Added keyword "void" to functions with empty argument list.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2081 70169cfe-8b10-0410-8925-dcb4b91034d8
Fixed a segfault on bad template strings.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2067 70169cfe-8b10-0410-8925-dcb4b91034d8
Improved GWEN_Date_toStringWithTemplate() and GWEN_Time_toString().
- Now the modifier "*" is allowed after template chars, like in "YYYY/MM/D*". E.g. "D*" means all digits of the day of week, "Y*" stands for the full year, so for the date 1st of January, 2011 the following templates have the...
Fixed a bug in GWEN_Date.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2065 70169cfe-8b10-0410-8925-dcb4b91034d8
Added some convenience function for date management.
- added GWEN_Date_fromLocalTime()- added GWEN_Date_fromGmTime()
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2064 70169cfe-8b10-0410-8925-dcb4b91034d8
Allow for NULL-pointer in GWEN_Date_Compare().
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@1788 70169cfe-8b10-0410-8925-dcb4b91034d8
Fixed a bug in GWEN_Date_CurrentDate.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@1677 70169cfe-8b10-0410-8925-dcb4b91034d8
Added function GWEN_Date_fromTime().
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@1675 70169cfe-8b10-0410-8925-dcb4b91034d8
Add module GWEN_DATE.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@1575 70169cfe-8b10-0410-8925-dcb4b91034d8