mirror of
https://github.com/Gnucash/gnucash.git
synced 2026-09-03 20:53:02 -05:00
Remove gnc_dmy2gdate, which isn't used.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22607 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -1523,16 +1523,6 @@ gnc_dmy2timespec (int day, int month, int year)
|
||||
return gnc_dmy2timespec_internal (day, month, year, TRUE);
|
||||
}
|
||||
|
||||
GDate gnc_dmy2gdate (gint day, gint month, gint year)
|
||||
{
|
||||
GDate result;
|
||||
g_date_clear(&result, 1);
|
||||
g_date_set_day (&result, day);
|
||||
g_date_set_month (&result, month);
|
||||
g_date_set_year (&result, year);
|
||||
return result;
|
||||
}
|
||||
|
||||
Timespec
|
||||
gnc_dmy2timespec_end (int day, int month, int year)
|
||||
{
|
||||
|
||||
@@ -311,9 +311,6 @@ GDate timespec_to_gdate (Timespec ts);
|
||||
/** Turns a GDate into a Timespec, returning the first second of the day */
|
||||
Timespec gdate_to_timespec (GDate d);
|
||||
|
||||
/** Convert a day, month, and year to a GDate. Similar to g_date_new_dmy() but
|
||||
* returns by-value and not by pointer. */
|
||||
GDate gnc_dmy2gdate (gint day, gint month, gint year);
|
||||
|
||||
/** Convert a day, month, and year to a Timespec, returning the first second of the day */
|
||||
Timespec gnc_dmy2timespec (gint day, gint month, gint year);
|
||||
|
||||
@@ -1898,10 +1898,6 @@ test_gnc_dmy2timespec (void)
|
||||
g_date_time_unref (gdt3);
|
||||
g_date_time_unref (gdt4);
|
||||
}
|
||||
// Not Used
|
||||
/* gnc_dmy2gdate
|
||||
GDate gnc_dmy2gdate (gint day, gint month, gint year)// Local: 0:0:0
|
||||
*/
|
||||
/* gnc_dmy2timespec_end
|
||||
Timespec
|
||||
gnc_dmy2timespec_end (int day, int month, int year)// C: 1 Local: 0:0:0
|
||||
|
||||
Reference in New Issue
Block a user