17 m_days = end.
day() - beg.
day();
int year() const
Gets the year component of the date represented by this instance.
static int daysInMonth(int year, int month)
Returns the number of days in the specified month and year.
Represents an instant in time, typically expressed as a date and time of day.
Contains classes providing a means for handling date and time information.
int day() const
Gets the day component of the date represented by this instance.
int month() const
Gets the month component of the date represented by this instance.
Period(const DateTime &beg, const DateTime &end)
Constructs a new Period defined by a start DateTime and an end DateTime.
constexpr int hour() const
Gets the hour component of the date represented by this instance.