OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
time-utils.c File Reference
#include <math.h>
#include <time.h>
#include "orbit.h"
Include dependency graph for time-utils.c:

Go to the source code of this file.

Functions

double tmtojul (struct tm *time)
 
void jultotm (double tjd, struct tm *time)
 
double itojul (int32_t date, int32_t time)
 
void jultoi (double tjd, int32_t *date, int32_t *time)
 

Function Documentation

◆ itojul()

double itojul ( int32_t  date,
int32_t  time 
)

Definition at line 100 of file time-utils.c.

◆ jultoi()

void jultoi ( double  tjd,
int32_t *  date,
int32_t *  time 
)

Definition at line 134 of file time-utils.c.

◆ jultotm()

void jultotm ( double  tjd,
struct tm time 
)

Definition at line 62 of file time-utils.c.

◆ tmtojul()

double tmtojul ( struct tm time)

Definition at line 32 of file time-utils.c.