mirror of
https://github.com/Gnucash/gnucash.git
synced 2026-07-29 23:58:03 -05:00
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:
@@ -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
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user