7 references to ParseDateTimeOffset
Microsoft.AspNetCore.DataProtection.Tests (7)
KeyManagement\DefaultKeyResolverTests.cs (7)
256var now = ParseDateTimeOffset("2010-01-01 00:00:00Z"); 283var now = ParseDateTimeOffset("2010-01-01 00:00:00Z"); 326var now = ParseDateTimeOffset("2010-01-01 00:00:00Z"); 403var now = ParseDateTimeOffset("2010-01-01 00:00:00Z"); 455return CreateKey(ParseDateTimeOffset(activationDate), ParseDateTimeOffset(expirationDate), creationDate == null ? (DateTimeOffset?)null : ParseDateTimeOffset(creationDate), isRevoked, createEncryptorThrows);