$darkmode
Libical API Documentation 4.0 STABLE VERSION Visit the v3.0 documentation
vcardtime.h File Reference

Defines the data structure representing vCard date-times. More...

Go to the source code of this file.

Data Structures

struct  vcardtimetype
 

Macros

#define VCARDTIME_AS_V4   (0x2) /* allow partial date and/or time */
 
#define VCARDTIME_BARE_TIME   (0x1) /* 'T' not needed for TIME */
 
#define vcardtime_null_date()   vcardtime_null_datetime()
 
#define vcardtime_null_time()   vcardtime_null_datetime()
 
#define vcardtime_null_timestamp()   vcardtime_null_datetime()
 

Functions

const char * vcardtime_as_vcard_string (const vcardtimetype t, unsigned flags)
 
char * vcardtime_as_vcard_string_r (const vcardtimetype t, unsigned flags)
 
vcardtimetype vcardtime_current_utc_time (void)
 
vcardtimetype vcardtime_from_string (const char *str, int is_bare_time)
 
bool vcardtime_is_date (const vcardtimetype t)
 
bool vcardtime_is_datetime (const vcardtimetype t)
 
bool vcardtime_is_leap_year (const int year)
 
bool vcardtime_is_null_datetime (const vcardtimetype t)
 
bool vcardtime_is_time (const vcardtimetype t)
 
bool vcardtime_is_timestamp (const vcardtimetype t)
 
bool vcardtime_is_utc (const vcardtimetype t)
 
bool vcardtime_is_valid_time (const struct vcardtimetype t)
 
vcardtimetype vcardtime_null_datetime (void)
 

Detailed Description

Defines the data structure representing vCard date-times.

Definition in file vcardtime.h.