7 references to AddMonths
HttpStress (2)
Program.cs (2)
402X509Certificate2 cert = certReq.CreateSelfSigned(DateTimeOffset.UtcNow.AddMonths(-1), DateTimeOffset.UtcNow.AddMonths(1));
InMemory.FunctionalTests (1)
src\Servers\Kestrel\shared\test\CertificateAuthority.cs (1)
835DateTimeOffset end = start.AddMonths(3);
KeyManagementSample (1)
Program.cs (1)
51expirationDate: DateTimeOffset.Now.AddMonths(1));
Microsoft.AspNetCore.DataProtection.Tests (1)
KeyManagement\XmlKeyManagerTests.cs (1)
296DateTimeOffset expirationDate = activationDate.AddMonths(1);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
src\Servers\Kestrel\shared\test\CertificateAuthority.cs (1)
835DateTimeOffset end = start.AddMonths(3);
Microsoft.Net.Http.Headers.Tests (1)
HeaderUtilitiesTest.cs (1)
49data.Add(date.AddMonths(i), quoted);