libtime++: Date and time calculation
libtime.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  time_Ts
 
union  time_Tu
 

Macros

#define EXIT_SUCCESS   0
 
#define EXIT_FAILURE   1
 
#define RETURNERROR(EXPR, SUB, STR, CODE)
 
#define TIME_ISLEAP   (1)
 
#define TIME_ISNOTLEAP   (0)
 
#define TIME_SLEN   (35)
 

Typedefs

typedef long int integer
 
typedef double doublereal
 
typedef long int logical
 
typedef long int ftnlen
 
typedef integer timeint
 

Functions

void time_add (time_Ts, time_Ts, time_Ts *)
 
void time_clear (time_Ts *)
 
integer time_compare (time_Ts, time_Ts)
 
void time_copy (time_Ts, time_Ts *)
 
void time_div (time_Ts, time_Ts *, timeint, timeint *)
 
void time_finish (time_Ts *)
 
void time_fullyear (timeint *)
 
void time_getdate (timeint *, timeint *, time_Ts)
 
integer time_isleapyear (timeint)
 
double time_libversion ()
 
void time_mul (time_Ts, time_Ts *, timeint)
 
void time_nfit (time_Ts, time_Ts, timeint *, time_Ts *)
 
void time_norm (time_Ts *)
 
void time_setdoy (timeint, timeint, time_Ts *)
 
void time_sub (time_Ts, time_Ts, time_Ts *)
 
int time_read (time_Ts *, const char *)
 
char * time_sprint (time_Ts)