Data Gator
Hardware and software documentation for the Data Gator project.
Loading...
Searching...
No Matches
TimeStampBuilder Class Reference

#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

NTPClientntp_client
 

Detailed Description

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.


The documentation for this class was generated from the following files: