1 /* biji-date-time.h 2 * Copyright (C) Pierre-Yves LUYTEN 2011-2013 <py@luyten.fr> 3 * 4 * bijiben is free software: you can redistribute it and/or modify it 5 * under the terms of the GNU General Public License as published by the 6 * Free Software Foundation, either version 3 of the License, or 7 * (at your option) any later version. 8 * 9 * bijiben is distributed in the hope that it will be useful, but 10 * WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 12 * See the GNU General Public License for more details. 13 * 14 * You should have received a copy of the GNU General Public License along 15 * with this program. If not, see <http://www.gnu.org/licenses/>.*/ 16 17 #pragma once 18 19 #include <glib-object.h> 20 #include <glib/gprintf.h> 21 22 23 24 const gchar *biji_get_time_diff_with_time (glong sec_since_epoch); 25 26 27 28 gint64 iso8601_to_gint64 (const char *iso8601); 29