C++ Utilities
5.6.0
Useful C++ classes and routines such as argument parser, IO and conversion utilities
|
Go to the documentation of this file. 1 #ifndef CHRONO_UTILITIES_PERIOD_H
2 #define CHRONO_UTILITIES_PERIOD_H
12 constexpr
int years()
const;
13 constexpr
int months()
const;
14 constexpr
int days()
const;
57 #endif // CHRONO_UTILITIES_PERIOD_H
CPP_UTILITIES_EXPORT DateTime operator+(DateTime begin, Period period)
Adds the specified period to the specified date.
Represents a period of time.
constexpr int days() const
Returns the days component of the period represented by the current instance.
constexpr int months() const
Returns the months component of the period represented by the current instance.
Contains all utilities provides by the c++utilities library.
constexpr int years() const
Returns the years component of the period represented by the current instance.
Represents an instant in time, typically expressed as a date and time of day.
#define CPP_UTILITIES_EXPORT
Marks the symbol to be exported by the c++utilities library.