Hello Anish.
I have written some basic test cases for time module . Please find them
attached.
Please send textual information in the body of the message and not in
an attachment. In that way it is much easier to read it :)
(An email about the test cases follows)
I have following queries regarding time module-
1: I read document Architecture of time module.I found following :-
<doc>
The pdf_time_t opaque data type represents a specific UTC date and time.
It is a discrete point in the continuous time line. The resolution is in
seconds.
</doc>
I am not able to understand it clearly. Can anybody give me example of
type pdf_time_t?
Since it is an opaque type you (as a library user and while writing
unit tests) dont need to know how it is implemented. If you find
yourself needing to know how pdf_time_t is implemented then there is a
bug in the API.
2: For structure struct pdf_time_cal_span_s,what is the significance of
member pdf_u32_t sign?
Can you please give me example of how to use it?
It is a bug in the API. That attribute doesnt make sense since a cal
time span is always positive. I have commited a patch to CVS removing
that attribute from the Reference Manual.
--
Jose E. Marchesi <[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
GNU Spain http://es.gnu.org
GNU Project http://www.gnu.org