![]() |
0.4.1
|
Universal Time Coordinated [UTC]. More...
Public Member Functions | |
constexpr | InsTime_YMDHMS (int32_t year, int32_t month, int32_t day, int32_t hour, int32_t min, long double sec, int digits=-1) |
Constructor. | |
operator std::string () const | |
Converts the object into a readable string. | |
constexpr bool | operator!= (const InsTime_YMDHMS &rhs) const |
Inequal comparison operator (takes double precision into account) | |
constexpr bool | operator< (const InsTime_YMDHMS &rhs) const |
Smaller comparison operator (takes double precision into account) | |
constexpr bool | operator<= (const InsTime_YMDHMS &rhs) const |
Smaller or equal comparison operator (takes double precision into account) | |
constexpr bool | operator== (const InsTime_YMDHMS &rhs) const |
Equal comparison operator (takes double precision into account) | |
constexpr bool | operator> (const InsTime_YMDHMS &rhs) const |
Greater comparison operator (takes double precision into account) | |
constexpr bool | operator>= (const InsTime_YMDHMS &rhs) const |
Greater or equal comparison operator (takes double precision into account) | |
Data Fields | |
int32_t | day |
Contains day in Universal Time Coordinated [UTC]. | |
int32_t | hour |
Contains hour in Universal Time Coordinated [UTC]. | |
int32_t | min |
Contains minute in Universal Time Coordinated [UTC]. | |
int32_t | month |
Contains month in Universal Time Coordinated [UTC]. | |
long double | sec |
Contains second in Universal Time Coordinated [UTC]. | |
int32_t | year |
Contains year in Universal Time Coordinated [UTC]. | |
Universal Time Coordinated [UTC].
Definition at line 464 of file InsTime.hpp.
|
inlineconstexpr |
Constructor.
[in] | year | Year in Universal Time Coordinated [UTC] |
[in] | month | Month in Universal Time Coordinated (1 = January) [UTC] |
[in] | day | Day in Universal Time Coordinated (1 = first day) [UTC] |
[in] | hour | Hour in Universal Time Coordinated [UTC] |
[in] | min | Minute in Universal Time Coordinated [UTC] |
[in] | sec | Second in Universal Time Coordinated [UTC] |
[in] | digits | Amount of digits for the seconds to round to |
Definition at line 481 of file InsTime.hpp.
|
explicit |
Converts the object into a readable string.
Definition at line 48 of file InsTime.cpp.
|
inlineconstexpr |
Inequal comparison operator (takes double precision into account)
[in] | rhs | Right-hand side to compare with |
Definition at line 568 of file InsTime.hpp.
|
inlineconstexpr |
Smaller comparison operator (takes double precision into account)
[in] | rhs | Right-hand side to compare with |
Definition at line 589 of file InsTime.hpp.
|
inlineconstexpr |
Smaller or equal comparison operator (takes double precision into account)
[in] | rhs | Right-hand side to compare with |
Definition at line 575 of file InsTime.hpp.
|
inlineconstexpr |
Equal comparison operator (takes double precision into account)
[in] | rhs | Right-hand side to compare with |
Definition at line 551 of file InsTime.hpp.
|
inlineconstexpr |
Greater comparison operator (takes double precision into account)
[in] | rhs | Right-hand side to compare with |
Definition at line 602 of file InsTime.hpp.
|
inlineconstexpr |
Greater or equal comparison operator (takes double precision into account)
[in] | rhs | Right-hand side to compare with |
Definition at line 582 of file InsTime.hpp.
int32_t NAV::InsTime_YMDHMS::day |
Contains day in Universal Time Coordinated [UTC].
Definition at line 468 of file InsTime.hpp.
int32_t NAV::InsTime_YMDHMS::hour |
Contains hour in Universal Time Coordinated [UTC].
Definition at line 469 of file InsTime.hpp.
int32_t NAV::InsTime_YMDHMS::min |
Contains minute in Universal Time Coordinated [UTC].
Definition at line 470 of file InsTime.hpp.
int32_t NAV::InsTime_YMDHMS::month |
Contains month in Universal Time Coordinated [UTC].
Definition at line 467 of file InsTime.hpp.
long double NAV::InsTime_YMDHMS::sec |
Contains second in Universal Time Coordinated [UTC].
Definition at line 471 of file InsTime.hpp.
int32_t NAV::InsTime_YMDHMS::year |
Contains year in Universal Time Coordinated [UTC].
Definition at line 466 of file InsTime.hpp.