[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Core.Rendering.JpCalendar.JapaneseCalendarEx.AddMonths

AddMonths Method

AddMonths(DateTime, int)

Returns a DateTime that is the specified number of months away from the specified DateTime.

Declaration
public override DateTime AddMonths(DateTime time, int months)
Parameters
Type Name Description
DateTime time

The DateTime to which to add months.

int months

The number of months to add.

Returns
Type Description
DateTime

The DateTime that results from adding the specified number of months to the specified DateTime.

Overrides
Exceptions
Type Condition
ArgumentOutOfRangeException

months is less than -120000.-or- months is greater than 120000.

ArgumentException

The resulting DateTime is outside the supported range.