Nevron Open Vision Documentation
Nevron.Nov.Schedule Namespace / NRecurrenceYearlyRule Class / DecreaseMonths Method


In This Topic
    DecreaseMonths Method (NRecurrenceYearlyRule)
    In This Topic
    Decreases the months in the given date and goes to the previous year if they cannot be decreased anymore.
    Syntax
    'Declaration
     
    
    Protected Overrides Function DecreaseMonths( _
       ByVal date As System.Date _
    ) As System.Date
    'Usage
     
    
    Dim instance As NRecurrenceYearlyRule
    Dim date As System.Date
    Dim value As System.Date
     
    value = instance.DecreaseMonths(date)
    protected override System.DateTime DecreaseMonths( 
       System.DateTime date
    )

    Parameters

    date
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also