mtime 1.3.0
Loading...
Searching...
No Matches
mtime_julianDay.h File Reference

Julian Day Calendar and some operations supported on julian dates. More...

#include <stdint.h>
#include <stdbool.h>
Include dependency graph for mtime_julianDay.h:

Go to the source code of this file.

Data Structures

struct  _julianday
 Struct _julianday containing julian day parameters. More...
 

Functions

struct _juliandaynewJulianDay (int64_t _day, int64_t _ms)
 Construct new Julian-Date object.
 
void deallocateJulianDay (struct _julianday *jd)
 Destructor of Julian-Date.
 
struct _juliandelta * newJulianDelta (char _sign, int64_t _day, int64_t _ms)
 
void deallocateJulianDelta (struct _juliandelta *jd)
 
struct _juliandayaddJulianDeltaToJulianDay (struct _julianday *jd1, struct _juliandelta *jd2, struct _julianday *jd)
 
struct _juliandaysubtractJulianDeltaFromJulianDay (struct _julianday *jd1, struct _juliandelta *jd2, struct _julianday *jd)
 
char * juliandayToString (struct _julianday *jd, char *toStr)
 Get Julian as a string.
 

Detailed Description

Julian Day Calendar and some operations supported on julian dates.

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