|
Data Gator
Hardware and software documentation for the Data Gator project.
|
#include <TimeStamp.hpp>
Public Member Functions | |
| TimeStamp (time_t epoch_time) | |
| TimeStamp (string ts) | |
| TimeStamp (int day, int month, int year, int hour, int minutes, int seconds, int offset) | |
| string | to_string () |
| string | get_mdy () |
| long int | get_epoch () |
Private Attributes | |
| int | day |
| int | month |
| int | year |
| int | hour |
| int | minutes |
| int | seconds |
| int | offset |
| time_t | epoch_time |
| struct tm | ptm |
Friends | |
| bool | operator< (const TimeStamp &l, const TimeStamp &r) |
| bool | operator> (const TimeStamp &l, const TimeStamp &r) |
| bool | operator<= (const TimeStamp &l, const TimeStamp &r) |
| bool | operator>= (const TimeStamp &l, const TimeStamp &r) |
| bool | operator== (const TimeStamp &l, const TimeStamp &r) |
| bool | operator!= (const TimeStamp &l, const TimeStamp &r) |
Class defining a TimeStamp's fields (date, time, offset) as well as basic manipulation functions