EpcTools
An event based multi-threaded C++ development framework.
|
#include <stdlib.h>
#include <time.h>
#include <sys/time.h>
#include <stdint.h>
#include <string.h>
#include <ctype.h>
#include "etypes.h"
#include "etime.h"
Functions | |
void | cal_year_week (Int *year, Int *w, const struct tm *t) |
size_t | format_time_into_string (pStr st, size_t max_limit, cpStr type_format, struct tm *time_f, const struct timeval *tval) |
pStr | format_time_into_specs (cpStr time_format, const struct tm *t, pStr dest, cpStr max_limit, const struct timeval *p_timeval) |
pStr | convert_date_time_format (const Int n, cpStr date_time_format, pStr dest_buffer, cpStr max_dest_limit) |
pStr | add_timeformat_to_string (cpStr buffer, pStr dest_buffer, cpStr max_dest_limit) |
time_t | timegm (struct tm *t) |
bool | DateFromStr (cpStr strIn, struct timeval *ptvout, bool isLocal) |
pStr add_timeformat_to_string | ( | cpStr | buffer, |
pStr | dest_buffer, | ||
cpStr | max_dest_limit | ||
) |
void cal_year_week | ( | Int * | year, |
Int * | w, | ||
const struct tm * | t | ||
) |
pStr convert_date_time_format | ( | const Int | n, |
cpStr | date_time_format, | ||
pStr | dest_buffer, | ||
cpStr | max_dest_limit | ||
) |
bool DateFromStr | ( | cpStr | strIn, |
struct timeval * | ptvout, | ||
bool | isLocal | ||
) |
pStr format_time_into_specs | ( | cpStr | time_format, |
const struct tm * | t, | ||
pStr | dest, | ||
cpStr | max_limit, | ||
const struct timeval * | p_timeval | ||
) |
size_t format_time_into_string | ( | pStr | st, |
size_t | max_limit, | ||
cpStr | type_format, | ||
struct tm * | time_f, | ||
const struct timeval * | tval | ||
) |
time_t timegm | ( | struct tm * | t | ) |