2002-11-17 Joshua Sled <jsled@asynchronous.org>

* src/engine/date.[ch] (printGDate): Convenience wrapper around
	printDate.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7500 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Joshua Sled
2002-11-18 05:55:47 +00:00
parent 7b07c0e188
commit d9cca5f10f
2 changed files with 13 additions and 1 deletions
+9
View File
@@ -405,6 +405,15 @@ printDateSecs (char * buff, time_t t)
theTime->tm_year + 1900);
}
void
printGDate( char *buf, GDate *gd )
{
printDate( buf,
g_date_day(gd),
g_date_month(gd),
g_date_year(gd) );
}
char *
xaccPrintDateSecs (time_t t)
{
+4 -1
View File
@@ -138,9 +138,12 @@ const gchar *getDateTextFormatString(DateFormat df);
* Return: nothing
*
* Globals: global dateFormat value
*/
**/
void printDate (char * buff, int day, int month, int year);
/** convenience: calls through to printDate. **/
void printDateSecs (char * buff, time_t secs);
/** Convenience; calls through to printDate. **/
void printGDate( char *buf, GDate *gd );
char * xaccPrintDateSecs (time_t secs);
const char * gnc_print_date(Timespec ts);