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