tempoch-cpp 0.5.3
Header-only C++ wrapper for tempoch
Loading...
Searching...
No Matches
tempoch::TimeTraits< Time< S > > Struct Template Reference

#include <tempoch/period.hpp>

Static Public Member Functions

static double to_mjd_value (const Time< S > &time)
 
static Time< Sfrom_mjd_value (double mjd)
 

Detailed Description

template<typename S>
struct tempoch::TimeTraits< Time< S > >

Definition at line 15 of file period.hpp.

Member Function Documentation

◆ from_mjd_value()

template<typename S >
static Time< S > tempoch::TimeTraits< Time< S > >::from_mjd_value ( double  mjd)
inlinestatic

Definition at line 20 of file period.hpp.

References tempoch::Time< S >::from_encoded(), and tempoch::scale_tag_v.

◆ to_mjd_value()

template<typename S >
static double tempoch::TimeTraits< Time< S > >::to_mjd_value ( const Time< S > &  time)
inlinestatic

Definition at line 16 of file period.hpp.

References tempoch::scale_tag_v.


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