Represents a period of time.
More...
#include <period.h>
|
| Period (const DateTime &beg, const DateTime &end) |
| Constructs a new Period defined by a start DateTime and an end DateTime. More...
|
|
int | years () const |
| Gets the years component of the period represented by the current instance. More...
|
|
int | months () const |
| Gets the months component of the period represented by the current instance. More...
|
|
int | days () const |
| Gets the days component of the period represented by the current instance. More...
|
|
Represents a period of time.
Definition at line 8 of file period.h.
◆ Period()
◆ days()
int ChronoUtilities::Period::days |
( |
| ) |
const |
|
inline |
Gets the days component of the period represented by the current instance.
Definition at line 40 of file period.h.
◆ months()
int ChronoUtilities::Period::months |
( |
| ) |
const |
|
inline |
Gets the months component of the period represented by the current instance.
Definition at line 32 of file period.h.
◆ years()
int ChronoUtilities::Period::years |
( |
| ) |
const |
|
inline |
Gets the years component of the period represented by the current instance.
Definition at line 24 of file period.h.
The documentation for this class was generated from the following files: