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

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

Go to the source code of this file.

Macros

#define num_digits(s)   strspn(s, "0123456789")
 
#define TIME_BUF_SIZE   21
 

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

Implements the data structure representing vCard date-times.

Definition in file vcardtime.c.