TimeUtil − |
#include <acstimeTimeUtil.h> Inherited by DurationHelper [private], and EpochHelper [private]. |
Public Member Functions |
TimeUtil () |
~TimeUtil () |
Static Public Member Functions |
static acstime::Epoch ace2epoch (const ACE_Time_Value &value) |
static ACE_Time_Value epoch2ace (const acstime::Epoch &value) |
static acstime::Duration ace2duration (const ACE_Time_Value &value) |
static ACE_Time_Value duration2ace (const acstime::Duration &value) |
Static Public Attributes |
static const short DaysInMonth [12] |
Private Member Functions |
TimeUtil (const TimeUtil &) |
void operator= (const TimeUtil &) |
TimeUtil is a utility class providing static methods to convert between various time systems. TODO: |
• |
nothing |
TimeUtil::TimeUtil () [inline] Constructor |
TimeUtil::~TimeUtil () [inline] Destructor |
TimeUtil::TimeUtil (const TimeUtil &) [private] Copy not allowed. |
static acstime::Duration TimeUtil::ace2duration (const ACE_Time_Value & value) [static] convert ACE_Time_Value to Duration |
Parameters: |
value ACE_Time_value. |
Returns: |
value converted to a Duration |
static acstime::Epoch TimeUtil::ace2epoch (const ACE_Time_Value & value) [static] convert ACE_Time_Value to ACS Epoch |
Parameters: |
value ACE_Time_value. |
Returns: |
value converted to an Epoch |
Referenced by DevIOTime::read(). |
static ACE_Time_Value TimeUtil::duration2ace (const acstime::Duration & value) [static] convert Duration to ACE_Time_Value |
Parameters: |
value Duration. |
Returns: |
value converted to an ACE_Time_Value |
static ACE_Time_Value TimeUtil::epoch2ace (const acstime::Epoch & value) [static] convert Epoch to ACE_Time_Value |
Parameters: |
value Epoch. |
Returns: |
value converted to an ACE_Time_Value |
void TimeUtil::operator= (const TimeUtil &) [private] Assignment not allowed. |
const short TimeUtil::DaysInMonth[12] [static] days in each month |
Generated automatically by Doxygen for ACS-2015.2 C++ API from the source code. |