10 references to ParseExact
KeyManagementSimulator (1)
Program.cs (1)
88
var startTime = DateTimeOffset.
ParseExact
("2015-03-01 00:00:00Z", "u", CultureInfo.InvariantCulture).UtcDateTime;
Microsoft.AspNetCore.DataProtection.Extensions.Tests (2)
DataProtectionAdvancedExtensionsTests.cs (1)
98
return DateTimeOffset.
ParseExact
(input, "u", CultureInfo.InvariantCulture).UtcDateTime;
TimeLimitedDataProtectorTests.cs (1)
176
return DateTimeOffset.
ParseExact
(input, "u", CultureInfo.InvariantCulture).UtcDateTime;
Microsoft.AspNetCore.DataProtection.Tests (6)
KeyManagement\DefaultKeyResolverTests.cs (2)
480
return DateTimeOffset.
ParseExact
(dto, "u", CultureInfo.InvariantCulture);
488
return resolver.ResolveDefaultKeyPolicy(DateTimeOffset.
ParseExact
(now, "u", CultureInfo.InvariantCulture), (IEnumerable<IKey>)allKeys);
KeyManagement\KeyRingBasedDataProtectorTests.cs (1)
227
return DateTimeOffset.
ParseExact
(input, "u", CultureInfo.InvariantCulture).UtcDateTime;
KeyManagement\KeyRingProviderTests.cs (3)
917
return DateTimeOffset.
ParseExact
(input, "u", CultureInfo.InvariantCulture).UtcDateTime;
931
DateTimeOffset.
ParseExact
(activationDate, "u", CultureInfo.InvariantCulture),
932
DateTimeOffset.
ParseExact
(expirationDate, "u", CultureInfo.InvariantCulture),
System.Windows.Forms.Tests (1)
System\Windows\Forms\DataObjectTests.cs (1)
3051
result.Date = DateTimeOffset.
ParseExact
(reader.GetString(), "MM/dd/yyyy", null);