0.2.0
Loading...
Searching...
No Matches
NAV::InsTime_JD Struct Reference

Julien Date [UTC]. More...

Public Member Functions

constexpr InsTime_JD (int32_t jd_day, long double jd_frac)
 Constructor.
 
 operator std::string () const
 Converts the object into a readable string.
 
constexpr bool operator!= (const InsTime_JD &rhs) const
 Inequal comparison operator (takes double precision into account)
 
constexpr bool operator< (const InsTime_JD &rhs) const
 Smaller comparison operator (takes double precision into account)
 
constexpr bool operator<= (const InsTime_JD &rhs) const
 Smaller or equal comparison operator (takes double precision into account)
 
constexpr bool operator== (const InsTime_JD &rhs) const
 Equal comparison operator (takes double precision into account)
 
constexpr bool operator> (const InsTime_JD &rhs) const
 Greater comparison operator (takes double precision into account)
 
constexpr bool operator>= (const InsTime_JD &rhs) const
 Greater or equal comparison operator (takes double precision into account)
 

Public Attributes

int32_t jd_day
 Full days since 1. January −4712 [UTC].
 
long double jd_frac
 Decimal fractions of a day of the Julien Date [UTC].
 

Detailed Description

Julien Date [UTC].

Constructor & Destructor Documentation

◆ InsTime_JD()

constexpr NAV::InsTime_JD::InsTime_JD ( int32_t jd_day,
long double jd_frac )
inlineconstexpr

Constructor.

Parameters
[in]jd_dayFull days of the Julien Date [UTC]
[in]jd_fracDecimal fractions of a day of the Julien Date [UTC]

Member Function Documentation

◆ operator!=()

constexpr bool NAV::InsTime_JD::operator!= ( const InsTime_JD & rhs) const
inlineconstexpr

Inequal comparison operator (takes double precision into account)

Parameters
[in]rhsRight-hand side to compare with
Returns
Comparison result

◆ operator<()

constexpr bool NAV::InsTime_JD::operator< ( const InsTime_JD & rhs) const
inlineconstexpr

Smaller comparison operator (takes double precision into account)

Parameters
[in]rhsRight-hand side to compare with
Returns
Comparison result

◆ operator<=()

constexpr bool NAV::InsTime_JD::operator<= ( const InsTime_JD & rhs) const
inlineconstexpr

Smaller or equal comparison operator (takes double precision into account)

Parameters
[in]rhsRight-hand side to compare with
Returns
Comparison result

◆ operator==()

constexpr bool NAV::InsTime_JD::operator== ( const InsTime_JD & rhs) const
inlineconstexpr

Equal comparison operator (takes double precision into account)

Parameters
[in]rhsRight-hand side to compare with
Returns
Comparison result

◆ operator>()

constexpr bool NAV::InsTime_JD::operator> ( const InsTime_JD & rhs) const
inlineconstexpr

Greater comparison operator (takes double precision into account)

Parameters
[in]rhsRight-hand side to compare with
Returns
Comparison result

◆ operator>=()

constexpr bool NAV::InsTime_JD::operator>= ( const InsTime_JD & rhs) const
inlineconstexpr

Greater or equal comparison operator (takes double precision into account)

Parameters
[in]rhsRight-hand side to compare with
Returns
Comparison result

The documentation for this struct was generated from the following file: