mtime 1.2.2
Loading...
Searching...
No Matches

Date and some operations supported on Date. More...

#include "mtime_calendar.h"
Include dependency graph for mtime_date.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  _date
 struct _date containing usual date parameters. More...
 

Functions

struct _datenewDate (const char *ds)
 Construct new Date using an ISO 8601 conforming string.
 
struct _datenewRawDate (int64_t _year, int _month, int _day)
 Construct new Date using 'raw' numerical values.
 
struct _dateconstructAndCopyDate (struct _date *d)
 Copy the values and construct a new date.
 
void deallocateDate (struct _date *d)
 Destructor of Date. Free the Date object.
 
struct _datereplaceDate (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.
 

Detailed Description

Date and some operations supported on Date.

Author
Luis Kornblueh, Max Planck Institute for Meteorology.
Rahul Sinha, Max Planck Institute for Meteorology.
Date
March 2013