|
GnuCash 2.4.99
|
00001 /* 00002 * jalali.h 00003 * Copyright (C) 2010 Christian Stimming 00004 * 00005 * This program is free software; you can redistribute it and/or 00006 * modify it under the terms of the GNU General Public License as 00007 * published by the Free Software Foundation; either version 2 of 00008 * the License, or (at your option) any later version. 00009 * 00010 * This program is distributed in the hope that it will be useful, 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 * GNU General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU General Public License 00016 * along with this program; if not, contact: 00017 * 00018 * Free Software Foundation Voice: +1-617-542-5942 00019 * 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 00020 * Boston, MA 02110-1301, USA gnu@gnu.org 00021 */ 00022 00023 #ifndef GNC_JALALI_H 00024 #define GNC_JALALI_H 00025 00028 void gnc_gregorian_to_jalali(/* output */ int *j_y, int *j_m, int *j_d, 00029 /* input */ int g_y, int g_m, int g_d); 00030 00033 void gnc_jalali_to_gregorian(/* output */ int *g_y, int *g_m, int *g_d, 00034 /* input */ int j_y, int j_m, int j_d); 00035 00039 int gnc_jalali_days_in_month(int month_index); 00040 00043 const char* gnc_jalali_month_name(int month_index); 00044 00045 00046 #endif
1.7.4