BG_Flood  0.1
Documentation (Work-in-progress)
utctime.cu File Reference
#include "utctime.h"
Include dependency graph for utctime.cu:

Functions

int days_from_epoch (int y, int m, int d)
 
struct tm * gmtime_r (const time_t *timep, struct tm *tm)
 
long long timegm (struct tm const *t)
 
long long date_string_to_time (std::string date)
 
double date_string_to_s (std::string datetime, std::string refdate)
 
double readinputtimetxt (std::string input, std::string &refdate)
 
bool testime1 (int hour)
 
bool testime2 (int hour)
 

Function Documentation

◆ date_string_to_s()

double date_string_to_s ( std::string  datetime,
std::string  refdate 
)

◆ date_string_to_time()

long long date_string_to_time ( std::string  date)

◆ days_from_epoch()

int days_from_epoch ( int  y,
int  m,
int  d 
)

◆ gmtime_r()

struct tm* gmtime_r ( const time_t *  timep,
struct tm *  tm 
)

◆ readinputtimetxt()

double readinputtimetxt ( std::string  input,
std::string &  refdate 
)

◆ testime1()

bool testime1 ( int  hour)

◆ testime2()

bool testime2 ( int  hour)

◆ timegm()

long long timegm ( struct tm const *  t)