![]() |
Data Gator
Hardware and software documentation for the Data Gator project.
|
#include <TimeStamp.hpp>
Public Member Functions | |
TimeStampBuilder (NTPClient *) | |
std::string | get_date_time () |
std::string | get_date_time (std::string date, std::string time, std::string offset) |
std::string | format_time (int hours, int minutes, int seconds) |
std::string | format_date (unsigned long epoch_time) |
Private Attributes | |
NTPClient * | ntp_client |
Class for building time stamps with the format: <year>-<month>-<day>T<hours>:<minutes>:<seconds>+<minutes_offset>
Time stamps may be built from date and time formatted as integers or strings, or from data requested from an NTPClient.