source: trunk/poppler/mypoppler/poppler/DateInfo.h @ 461

Last change on this file since 461 was 277, checked in by rbri, 12 years ago

PDF plugin: Poppler library updated to version 0.12.3

File size: 1.1 KB
Line 
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
10//
11//========================================================================
12
13//========================================================================
14//
15// Based on code from pdfinfo.cc
16//
17// Copyright 1998-2003 Glyph & Cog, LLC
18//
19//========================================================================
20
21#ifndef DATE_INFO_H
22#define DATE_INFO_H
23
24#include "goo/gtypes.h"
25#include "goo/GooString.h"
26#include <time.h>
27
28GBool parseDateString(const char *string, int *year, int *month, int *day, int *hour, int *minute, int *second, char *tz, int *tzHour, int *tzMinute);
29
30/* Converts the time_t into a PDF Date format string.
31 * If timet is NULL, current time is used.
32 */
33GooString *timeToDateString(time_t *timet);
34
35#endif
Note: See TracBrowser for help on using the repository browser.