[]
public override DateTime AddMonths(DateTime time, int months)
| Type | Name | Description |
|---|---|---|
| DateTime | time | The DateTime to which to add months. |
| int | months | The number of months to add. |
| Type | Description |
|---|---|
| DateTime | The DateTime that results from adding the specified number of months to the specified DateTime. |
| Type | Condition |
|---|---|
| ArgumentOutOfRangeException | months is less than -120000.-or- months is greater than 120000. |
| ArgumentException | The resulting DateTime is outside the supported range. |