torc-master
|
Represents the time in Universal Time Coordinate (year, month, day, hour, minute, second) More...
#include <TimeStamp.hpp>
Public Member Functions | |
TimeStamp (uint32_t inYear, uint32_t inMonth, uint32_t inDay, uint32_t inHour, uint32_t inMinute, uint32_t inSecond) | |
TimeStamp () | |
~TimeStamp () throw () | |
TimeStamp (const TimeStamp &source) | |
TimeStamp & | operator= (const TimeStamp &source) |
uint32_t | getYear () const |
void | setYear (const uint32_t &inYear) |
uint32_t | getMonth () const |
void | setMonth (const uint32_t &inMonth) |
uint32_t | getDay () const |
void | setDay (const uint32_t &inDay) |
uint32_t | getHour () const |
void | setHour (const uint32_t &inHour) |
uint32_t | getMinute () const |
void | setMinute (uint32_t inMinute) |
uint32_t | getSecond () const |
void | setSecond (uint32_t inSecond) |
Private Attributes | |
uint32_t | mYear |
uint32_t | mMonth |
uint32_t | mDay |
uint32_t | mHour |
uint32_t | mMinute |
uint32_t | mSecond |
Represents the time in Universal Time Coordinate (year, month, day, hour, minute, second)
Definition at line 29 of file TimeStamp.hpp.
torc::generic::TimeStamp::TimeStamp | ( | uint32_t | inYear, |
uint32_t | inMonth, | ||
uint32_t | inDay, | ||
uint32_t | inHour, | ||
uint32_t | inMinute, | ||
uint32_t | inSecond | ||
) |
Definition at line 21 of file TimeStamp.cpp.
torc::generic::TimeStamp::TimeStamp | ( | ) |
Definition at line 25 of file TimeStamp.cpp.
torc::generic::TimeStamp::~TimeStamp | ( | ) | ||
throw | ( | |||
) |
Definition at line 42 of file TimeStamp.cpp.
torc::generic::TimeStamp::TimeStamp | ( | const TimeStamp & | source | ) |
Definition at line 27 of file TimeStamp.cpp.
|
inline |
Get day information
Definition at line 158 of file TimeStamp.hpp.
|
inline |
Get hour information
Definition at line 167 of file TimeStamp.hpp.
|
inline |
Get minute information
Definition at line 176 of file TimeStamp.hpp.
|
inline |
Get month information
Definition at line 149 of file TimeStamp.hpp.
|
inline |
Get second information
Definition at line 185 of file TimeStamp.hpp.
|
inline |
Get year information
Definition at line 140 of file TimeStamp.hpp.
Definition at line 30 of file TimeStamp.cpp.
void torc::generic::TimeStamp::setDay | ( | const uint32_t & | inDay | ) |
Set day information
[in] | inDay | Day information |
Definition at line 67 of file TimeStamp.cpp.
void torc::generic::TimeStamp::setHour | ( | const uint32_t & | inHour | ) |
Set hour information
[in] | inHour | Hour information |
Definition at line 76 of file TimeStamp.cpp.
void torc::generic::TimeStamp::setMinute | ( | uint32_t | inMinute | ) |
Set minute information
[in] | inMinute | Minute information |
Definition at line 85 of file TimeStamp.cpp.
void torc::generic::TimeStamp::setMonth | ( | const uint32_t & | inMonth | ) |
Set month information
[in] | inMonth | Month information |
Definition at line 58 of file TimeStamp.cpp.
void torc::generic::TimeStamp::setSecond | ( | uint32_t | inSecond | ) |
Set second information
[in] | inSecond | Second information |
Definition at line 94 of file TimeStamp.cpp.
void torc::generic::TimeStamp::setYear | ( | const uint32_t & | inYear | ) |
Set year information
[in] | inYear | Year information |
Definition at line 49 of file TimeStamp.cpp.
|
private |
Definition at line 33 of file TimeStamp.hpp.
|
private |
Definition at line 34 of file TimeStamp.hpp.
|
private |
Definition at line 35 of file TimeStamp.hpp.
|
private |
Definition at line 32 of file TimeStamp.hpp.
|
private |
Definition at line 36 of file TimeStamp.hpp.
|
private |
Definition at line 31 of file TimeStamp.hpp.