diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2013-06-24 08:24:44 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2013-06-24 08:24:44 +0000 |
commit | 98bd36b19e0aee9d8ef2d560d4fc32ed2036251b (patch) | |
tree | dfb9f52097d0b95d2b8a5f2c1625bb5d5877388f /Build/source/libs/poppler/poppler-0.23.2/poppler/DateInfo.h | |
parent | 611c8928492ae0b013c2d2d950980345ea5fe38d (diff) |
poppler 0.23.2
git-svn-id: svn://tug.org/texlive/trunk@30882 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/poppler/poppler-0.23.2/poppler/DateInfo.h')
-rw-r--r-- | Build/source/libs/poppler/poppler-0.23.2/poppler/DateInfo.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/Build/source/libs/poppler/poppler-0.23.2/poppler/DateInfo.h b/Build/source/libs/poppler/poppler-0.23.2/poppler/DateInfo.h new file mode 100644 index 00000000000..116350f4134 --- /dev/null +++ b/Build/source/libs/poppler/poppler-0.23.2/poppler/DateInfo.h @@ -0,0 +1,35 @@ +//======================================================================== +// +// DateInfo.h +// +// Copyright (C) 2008 Albert Astals Cid <aacid@kde.org> +// Copyright (C) 2009 Carlos Garcia Campos <carlosgc@gnome.org> +// +// To see a description of the changes please see the Changelog file that +// came with your tarball or type make ChangeLog if you are building from git +// +//======================================================================== + +//======================================================================== +// +// Based on code from pdfinfo.cc +// +// Copyright 1998-2003 Glyph & Cog, LLC +// +//======================================================================== + +#ifndef DATE_INFO_H +#define DATE_INFO_H + +#include "goo/gtypes.h" +#include "goo/GooString.h" +#include <time.h> + +GBool parseDateString(const char *string, int *year, int *month, int *day, int *hour, int *minute, int *second, char *tz, int *tzHour, int *tzMinute); + +/* Converts the time_t into a PDF Date format string. + * If timet is NULL, current time is used. + */ +GooString *timeToDateString(time_t *timet); + +#endif |