Universal Time Coordinated [UTC].
More...
|
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)
|
|
|
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].
◆ InsTime_YMDHMS()
constexpr NAV::InsTime_YMDHMS::InsTime_YMDHMS |
( |
int32_t | year, |
|
|
int32_t | month, |
|
|
int32_t | day, |
|
|
int32_t | hour, |
|
|
int32_t | min, |
|
|
long double | sec, |
|
|
int | digits = -1 ) |
|
inlineconstexpr |
Constructor.
- Parameters
-
[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 |
◆ operator!=()
constexpr bool NAV::InsTime_YMDHMS::operator!= |
( |
const InsTime_YMDHMS & | rhs | ) |
const |
|
inlineconstexpr |
Inequal comparison operator (takes double precision into account)
- Parameters
-
[in] | rhs | Right-hand side to compare with |
- Returns
- Comparison result
◆ operator<()
constexpr bool NAV::InsTime_YMDHMS::operator< |
( |
const InsTime_YMDHMS & | rhs | ) |
const |
|
inlineconstexpr |
Smaller comparison operator (takes double precision into account)
- Parameters
-
[in] | rhs | Right-hand side to compare with |
- Returns
- Comparison result
◆ operator<=()
constexpr bool NAV::InsTime_YMDHMS::operator<= |
( |
const InsTime_YMDHMS & | rhs | ) |
const |
|
inlineconstexpr |
Smaller or equal comparison operator (takes double precision into account)
- Parameters
-
[in] | rhs | Right-hand side to compare with |
- Returns
- Comparison result
◆ operator==()
constexpr bool NAV::InsTime_YMDHMS::operator== |
( |
const InsTime_YMDHMS & | rhs | ) |
const |
|
inlineconstexpr |
Equal comparison operator (takes double precision into account)
- Parameters
-
[in] | rhs | Right-hand side to compare with |
- Returns
- Comparison result
◆ operator>()
constexpr bool NAV::InsTime_YMDHMS::operator> |
( |
const InsTime_YMDHMS & | rhs | ) |
const |
|
inlineconstexpr |
Greater comparison operator (takes double precision into account)
- Parameters
-
[in] | rhs | Right-hand side to compare with |
- Returns
- Comparison result
◆ operator>=()
constexpr bool NAV::InsTime_YMDHMS::operator>= |
( |
const InsTime_YMDHMS & | rhs | ) |
const |
|
inlineconstexpr |
Greater or equal comparison operator (takes double precision into account)
- Parameters
-
[in] | rhs | Right-hand side to compare with |
- Returns
- Comparison result
The documentation for this struct was generated from the following file:
- /home/runner/work/INSTINCT/INSTINCT/src/Navigation/Time/InsTime.hpp