|
Anypia Programmer's Documentation
|
Adds years to the specified date.
static boost::gregorian::date addYears( boost::gregorian::date theDate, int years );
|
Parameters |
Description |
|
boost::gregorian::date theDate |
The date to add to. |
|
int years |
The number of years to add. |
The incremented date.
The years could be negative. A day of February 29 is changed to February 28 to be sure there is no leap-year problem.
|
Copyright (c) 2010. All rights reserved.
|
|
What do you think about this topic? Send feedback!
|