Table of Contents

Class PersistenceTimestampTests

Namespace
ProjectTemplate.Web.Tests
Assembly
ProjectTemplate.Web.Tests.dll
public sealed class PersistenceTimestampTests
Inheritance
PersistenceTimestampTests
Inherited Members

Methods

NormalizeUtc_AlreadyNormalizedUtcDateTime_ReturnsSameInstant()

[Fact("/home/runner/work/NetCoreApplicationTemplate/NetCoreApplicationTemplate/tests/ProjectTemplate.Web.Tests/PersistenceTimestampTests.cs", 20)]
public void NormalizeUtc_AlreadyNormalizedUtcDateTime_ReturnsSameInstant()

NormalizeUtc_DateTimeOffset_ConvertsToUtcAndTrimsPrecision()

[Fact("/home/runner/work/NetCoreApplicationTemplate/NetCoreApplicationTemplate/tests/ProjectTemplate.Web.Tests/PersistenceTimestampTests.cs", 72)]
public void NormalizeUtc_DateTimeOffset_ConvertsToUtcAndTrimsPrecision()

NormalizeUtc_DateTimeOffset_IsIdempotent()

[Fact("/home/runner/work/NetCoreApplicationTemplate/NetCoreApplicationTemplate/tests/ProjectTemplate.Web.Tests/PersistenceTimestampTests.cs", 96)]
public void NormalizeUtc_DateTimeOffset_IsIdempotent()

NormalizeUtc_DateTime_IsIdempotent()

[Fact("/home/runner/work/NetCoreApplicationTemplate/NetCoreApplicationTemplate/tests/ProjectTemplate.Web.Tests/PersistenceTimestampTests.cs", 59)]
public void NormalizeUtc_DateTime_IsIdempotent()

NormalizeUtc_LocalDateTime_ConvertsToUtcAndTrimsPrecision()

[Fact("/home/runner/work/NetCoreApplicationTemplate/NetCoreApplicationTemplate/tests/ProjectTemplate.Web.Tests/PersistenceTimestampTests.cs", 44)]
public void NormalizeUtc_LocalDateTime_ConvertsToUtcAndTrimsPrecision()

NormalizeUtc_MinAndMaxUtcDateTimeValues_AreSupported()

[Fact("/home/runner/work/NetCoreApplicationTemplate/NetCoreApplicationTemplate/tests/ProjectTemplate.Web.Tests/PersistenceTimestampTests.cs", 118)]
public void NormalizeUtc_MinAndMaxUtcDateTimeValues_AreSupported()

NormalizeUtc_UnspecifiedDateTime_TreatsValueAsUtc()

[Fact("/home/runner/work/NetCoreApplicationTemplate/NetCoreApplicationTemplate/tests/ProjectTemplate.Web.Tests/PersistenceTimestampTests.cs", 31)]
public void NormalizeUtc_UnspecifiedDateTime_TreatsValueAsUtc()

NormalizeUtc_UtcDateTime_TrimsToMillisecondPrecision()

[Fact("/home/runner/work/NetCoreApplicationTemplate/NetCoreApplicationTemplate/tests/ProjectTemplate.Web.Tests/PersistenceTimestampTests.cs", 7)]
public void NormalizeUtc_UtcDateTime_TrimsToMillisecondPrecision()

UtcNow_ReturnsUtcTimestampWithMillisecondPrecision()

[Fact("/home/runner/work/NetCoreApplicationTemplate/NetCoreApplicationTemplate/tests/ProjectTemplate.Web.Tests/PersistenceTimestampTests.cs", 134)]
public void UtcNow_ReturnsUtcTimestampWithMillisecondPrecision()