beta-0.89.2
[luatex.git] / source / libs / poppler / poppler-src / poppler / DateInfo.h
blob116350f4134fa843f51e4eff4eb9a2cf96bff515
1 //========================================================================
2 //
3 // DateInfo.h
4 //
5 // Copyright (C) 2008 Albert Astals Cid <aacid@kde.org>
6 // Copyright (C) 2009 Carlos Garcia Campos <carlosgc@gnome.org>
7 //
8 // To see a description of the changes please see the Changelog file that
9 // came with your tarball or type make ChangeLog if you are building from git
11 //========================================================================
13 //========================================================================
15 // Based on code from pdfinfo.cc
17 // Copyright 1998-2003 Glyph & Cog, LLC
19 //========================================================================
21 #ifndef DATE_INFO_H
22 #define DATE_INFO_H
24 #include "goo/gtypes.h"
25 #include "goo/GooString.h"
26 #include <time.h>
28 GBool parseDateString(const char *string, int *year, int *month, int *day, int *hour, int *minute, int *second, char *tz, int *tzHour, int *tzMinute);
30 /* Converts the time_t into a PDF Date format string.
31 * If timet is NULL, current time is used.
33 GooString *timeToDateString(time_t *timet);
35 #endif