pdf-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [pdf-devel] Some thoughts on the time module...


From: Zac Brown
Subject: Re: [pdf-devel] Some thoughts on the time module...
Date: Mon, 30 Jun 2008 08:45:31 -0700
User-agent: Thunderbird 1.5.0.14ubu (X11/20080502)

Aleksander Morgado wrote:
I'm working on getting item properties, one of which is
creation/modification
times. Win32's time value is two DWORDS (high value and low value) and the
UNIX
time is obviously time_t.

Yep, both types of time values should be mapped to our pdf_time_t

They're not equivalent in structure etc. so I think instead of messily
doing the
conversion inside the function I'm working on, we probably should develop
some
sort of functions to do these things for us.

Could you specify which are the functions needed? The time module is the
right place to put them.



We'll need something that will take the two DWORDS that windows uses (a high and a low) and return a pdf_time_t.

For the UNIX time, is time_t equivalent to pdf_time_t? If so, then nothing is needed there, but if they're not then we need something that'll take a time_t and return a pdf_time_t.

-Zac




reply via email to

[Prev in Thread] Current Thread [Next in Thread]