Haru Free PDF Library
_HPDF_Date Struct Reference

Date structure. More...

#include <hpdf_types.h>

Data Fields

HPDF_INT year
 Year of the date. Does not imply restrictions. More...
 
HPDF_INT month
 Month of the date. Value from range 1 to 12 is accepted. More...
 
HPDF_INT day
 Day of the date. Values from range 1 to 28, 29, 30, or 31 is accepted (depends on the month) More...
 
HPDF_INT hour
 Hour of date. Value from range 0 to 23 is accepted. More...
 
HPDF_INT minutes
 Minutes of date. Value from range 0 to 59 is accepted. More...
 
HPDF_INT seconds
 Seconds of date. Value from range 0 to 59 is accepted. More...
 
char ind
 Relationship between local time and Universal time (' ', '+', '−', or 'Z') More...
 
HPDF_INT off_hour
 If ind is not ' ' (space), value from range 0 to 23 is accepted, otherwise ignored. More...
 
HPDF_INT off_minutes
 If ind is not ' ' (space), value from range 0 to 59 is accepted, otherwise ignored. More...
 

Detailed Description

Date structure.

Represents date values in info dictionary of PDF file.

See also
_HPDF_Date

Field Documentation

◆ day

HPDF_INT _HPDF_Date::day

Day of the date. Values from range 1 to 28, 29, 30, or 31 is accepted (depends on the month)

◆ hour

HPDF_INT _HPDF_Date::hour

Hour of date. Value from range 0 to 23 is accepted.

◆ ind

char _HPDF_Date::ind

Relationship between local time and Universal time (' ', '+', '−', or 'Z')

◆ minutes

HPDF_INT _HPDF_Date::minutes

Minutes of date. Value from range 0 to 59 is accepted.

◆ month

HPDF_INT _HPDF_Date::month

Month of the date. Value from range 1 to 12 is accepted.

◆ off_hour

HPDF_INT _HPDF_Date::off_hour

If ind is not ' ' (space), value from range 0 to 23 is accepted, otherwise ignored.

◆ off_minutes

HPDF_INT _HPDF_Date::off_minutes

If ind is not ' ' (space), value from range 0 to 59 is accepted, otherwise ignored.

◆ seconds

HPDF_INT _HPDF_Date::seconds

Seconds of date. Value from range 0 to 59 is accepted.

◆ year

HPDF_INT _HPDF_Date::year

Year of the date. Does not imply restrictions.


The documentation for this struct was generated from the following file: