V2/Application/Clock.cs

Defines a simple clock abstraction IHexClock exposing UtcNow, and a SystemHexClock implementation that returns DateTimeOffset.UtcNow.

#nullable enable

using System;

namespace Hexagon.V2.Application;

public interface IHexClock
{
	DateTimeOffset UtcNow { get; }
}

public sealed class SystemHexClock : IHexClock
{
	public DateTimeOffset UtcNow => DateTimeOffset.UtcNow;
}