daysToAddToGetNextMonth constant

int const daysToAddToGetNextMonth

Days to add to safely reach next month (28 + 4 = 32 days > any month).

Only valid for calendar-day stepping; adding it as elapsed 24-hour days can fall short across a daylight-saving change.

Implementation

static const int daysToAddToGetNextMonth = 4;