Definition in file tzwrapper.cc.
#include "tzwrapper.h"
#include <string.h>
#include <stdio.h>
#include <string>
Go to the source code of this file.
Namespaces | |
namespace | Barry |
namespace | Barry::Sync |
Functions | |
time_t | Barry::Sync::utc_mktime (struct tm *utctime) |
utc_mktime() converts a struct tm that contains broken down time in utc to a time_t. | |
struct tm * | Barry::Sync::iso_to_tm (const char *timestamp, struct tm *result, bool &utc, bool *zone=0, int *zoneminutes=0) |
Parses ISO timestamp in the format of YYYYMMDDTHHMMSS[Z] or YYYY-MM-DDTHH:MM:SS.uuu-HH:MM and places broken down time in result. | |
std::string | Barry::Sync::tm_to_iso (const struct tm *t, bool utc) |
Turns the struct tm into an ISO timestamp in the format of YYYYMMDDTHHMMSS[Z]. |