System.Tests.DateTimeOffsetTests.AddMonths C# (CSharp) 메소드

AddMonths() 개인적인 메소드

private AddMonths ( DateTimeOffset dateTimeOffset, int months, DateTimeOffset expected ) : void
dateTimeOffset DateTimeOffset
months int
expected DateTimeOffset
리턴 void
        public static void AddMonths(DateTimeOffset dateTimeOffset, int months, DateTimeOffset expected)
        {
            Assert.Equal(expected, dateTimeOffset.AddMonths(months));
        }
DateTimeOffsetTests