DUDS
Distributed Update of Data from Something
duds::time::interstellar::SecondClock Struct Reference

Provides Interstellar Time in seconds. More...

#include <Interstellar.hpp>

Public Types

typedef Seconds duration
 
typedef duration::period period
 
typedef duration::rep rep
 
typedef TimePoint< SecondClock, durationtime_point
 

Static Public Member Functions

static time_point now () noexcept
 

Static Public Attributes

static constexpr bool is_steady = false
 

Detailed Description

Provides Interstellar Time in seconds.

The range of the 64-bit number is about 9.223e18 seconds, or about 292 billion Earth years, before and after time zero. This should be useful for many long-running applications where a 128-bit integer is considered burdensome and high resolution is not required.

Author
Jeff Jackowski

Definition at line 253 of file Interstellar.hpp.

Member Typedef Documentation

◆ duration

◆ period

Definition at line 256 of file Interstellar.hpp.

◆ rep

Definition at line 255 of file Interstellar.hpp.

◆ time_point

Member Function Documentation

◆ now()

static time_point duds::time::interstellar::SecondClock::now ( )
inlinestaticnoexcept

Definition at line 259 of file Interstellar.hpp.

Member Data Documentation

◆ is_steady

constexpr bool duds::time::interstellar::SecondClock::is_steady = false
static

Definition at line 258 of file Interstellar.hpp.


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