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;
Represents an instant in time, typically expressed as a date and time of day.
Represents a period of time.
constexpr int days() const
Returns the days component of the period represented by the current instance.
constexpr int years() const
Returns the years 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.
#define CPP_UTILITIES_EXPORT
Marks the symbol to be exported by the c++utilities library.
Contains all utilities provides by the c++utilities library.
CPP_UTILITIES_EXPORT DateTime operator+(DateTime begin, Period period)
Adds the specified period to the specified date.