blob: 29bdf4863219a01a46ea378fbbae8f94b48f8d02 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
* Copyright (C) 2005 Novell, Inc.
*/
#ifndef SOUP_DATE_H
#define SOUP_DATE_H 1
#include <time.h>
#include <glib/gmacros.h>
G_BEGIN_DECLS
time_t soup_mktime_utc (struct tm *tm);
void soup_gmtime (const time_t *when, struct tm *tm);
time_t soup_date_parse (const char *timestamp);
char *soup_date_generate (time_t when);
time_t soup_date_iso8601_parse (const char *timestamp);
G_END_DECLS
#endif /* SOUP_DATE_H */
|