mtime 1.3.0
|
Date and some operations supported on Date. More...
#include "mtime_calendar.h"
Go to the source code of this file.
Data Structures | |
struct | _date |
struct _date containing usual date parameters. More... | |
Functions | |
struct _date * | newDate (const char *ds) |
Construct new Date using an ISO 8601 conforming string. | |
struct _date * | newRawDate (int64_t _year, int _month, int _day) |
Construct new Date using 'raw' numerical values. | |
struct _date * | constructAndCopyDate (struct _date *d) |
Copy the values and construct a new date. | |
void | deallocateDate (struct _date *d) |
Destructor of Date. Free the Date object. | |
struct _date * | replaceDate (struct _date *, struct _date *) |
COPY a Date object. | |
char * | dateToString (struct _date *, char *ds) |
Get Date as an extended string. | |
char * | dateToBasicString (struct _date *, char *ds) |
Get Date as a basic string. | |
char * | dateToPosixString (struct _date *d, char *toStr, char *fmtString) |
Get Date in 'struct tm' format and return as a string. | |
Date and some operations supported on Date.