Time Shield Library
C++ library for working with time
Loading...
Searching...
No Matches
types.hpp
Go to the documentation of this file.
1#pragma once
6#ifndef _TIME_SHIELD_TYPES_HPP_INCLUDED
7#define _TIME_SHIELD_TYPES_HPP_INCLUDED
8
9#include <cstdint>
10
11namespace time_shield {
12
13 typedef int64_t year_t;
14 typedef int64_t uday_t;
15 typedef int64_t ts_t;
16 typedef int64_t ts_ms_t;
17 typedef int64_t ts_us_t;
18 typedef double fts_t;
19 typedef double oadate_t;
20 typedef double jd_t;
21 typedef double mjd_t;
22 typedef uint64_t jdn_t;
23 typedef int tz_t;
24
25}; // namespace time_shield
26
27#endif // _TIME_SHIELD_TYPES_HPP_INCLUDED
Main namespace for the Time Shield library.
Definition constants.hpp:12
int64_t ts_t
Integer timestamp type.
Definition types.hpp:15
int64_t ts_ms_t
Integer timestamp milliseconds type.
Definition types.hpp:16
int64_t uday_t
Integer unix day type.
Definition types.hpp:14
double fts_t
Floating point timestamp type.
Definition types.hpp:18
uint64_t jdn_t
Julian Day Number type.
Definition types.hpp:22
int64_t ts_us_t
Integer timestamp microseconds type.
Definition types.hpp:17
double oadate_t
Automation date type (OADate) floating point.
Definition types.hpp:19
int64_t year_t
Integer year type.
Definition types.hpp:13
double mjd_t
Modified Julian Date type floating point.
Definition types.hpp:21
double jd_t
Julian Date type floating point.
Definition types.hpp:20