~ubuntu-branches/ubuntu/vivid/emscripten/vivid

« back to all changes in this revision

Viewing changes to tests/poppler/poppler/DateInfo.h

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2013-05-02 13:11:51 UTC
  • Revision ID: package-import@ubuntu.com-20130502131151-q8dvteqr1ef2x7xz
Tags: upstream-1.4.1~20130504~adb56cb
ImportĀ upstreamĀ versionĀ 1.4.1~20130504~adb56cb

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
 
 
28
GBool 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
 */
 
33
GooString *timeToDateString(time_t *timet);
 
34
 
 
35
#endif