Time Shield Library
C++ library for working with time
Loading...
Searching...
No Matches
types.hpp File Reference

Header file with type definitions. More...

#include <cstdint>

Go to the source code of this file.

Namespaces

namespace  time_shield
 Main namespace for the Time Shield library.
 

Macros

#define _TIME_SHIELD_TYPES_HPP_INCLUDED
 

Typedefs

typedef int64_t time_shield::year_t
 Type for representing years as integers.
 
typedef int64_t time_shield::uday_t
 Type for representing Unix days as integers (days since January 1, 1970).
 
typedef int64_t time_shield::ts_t
 Type for representing timestamps in seconds.
 
typedef int64_t time_shield::ts_ms_t
 Type for representing timestamps in milliseconds.
 
typedef int64_t time_shield::ts_us_t
 Type for representing timestamps in microseconds.
 
typedef double time_shield::fts_t
 Type for representing timestamps as floating-point numbers (e.g., fractional seconds).
 
typedef double time_shield::oadate_t
 Type for representing Automation Date (OADate) values as floating-point numbers.
 
typedef double time_shield::jd_t
 Type for representing Julian Dates as floating-point numbers.
 
typedef double time_shield::mjd_t
 Type for representing Modified Julian Dates as floating-point numbers.
 
typedef uint64_t time_shield::jdn_t
 Type for representing Julian Day Numbers as unsigned integers.
 
typedef int time_shield::tz_t
 Type for representing time zone offsets in minutes.
 
using time_shield::unixday_t = uday_t
 Alias for Unix day type (uday_t).
 

Detailed Description

Header file with type definitions.

This file contains type definitions for various time-related units and formats.

Definition in file types.hpp.

Macro Definition Documentation

◆ _TIME_SHIELD_TYPES_HPP_INCLUDED

#define _TIME_SHIELD_TYPES_HPP_INCLUDED

Definition at line 7 of file types.hpp.