47compare_return_val compareDate(
struct _date *,
struct _date *);
int day
day of date.
Definition mtime_date.h:35
int64_t year
Year of date. Can be both positive and negative.
Definition mtime_date.h:33
int month
Month of date.
Definition mtime_date.h:34
char * dateToString(struct _date *, char *ds)
Get Date as an extended string.
Definition mtime_date.c:273
struct _date * replaceDate(struct _date *, struct _date *)
COPY a Date object.
Definition mtime_date.c:241
struct _date * constructAndCopyDate(struct _date *d)
Copy the values and construct a new date.
Definition mtime_date.c:136
struct _date * newDate(const char *ds)
Construct new Date using an ISO 8601 conforming string.
Definition mtime_date.c:61
char * dateToBasicString(struct _date *, char *ds)
Get Date as a basic string.
Definition mtime_date.c:303
char * dateToPosixString(struct _date *d, char *toStr, char *fmtString)
Get Date in 'struct tm' format and return as a string.
Definition mtime_date.c:341
void deallocateDate(struct _date *d)
Destructor of Date. Free the Date object.
Definition mtime_date.c:152
struct _date * newRawDate(int64_t _year, int _month, int _day)
Construct new Date using 'raw' numerical values.
Definition mtime_date.c:113
struct _date containing usual date parameters.
Definition mtime_date.h:32
Singleton Calendar connecting all supported calendar types.