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