chore: add hrynco common library solution

- add the standalone HrynCo.Common solution and projects
- include the shared common library source and tests
- add package metadata and a repo gitignore
This commit is contained in:
Anatolii Grynchuk
2026-05-01 00:17:34 +03:00
commit 85b362e8cd
38 changed files with 1452 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
namespace HrynCo.Common;
public interface IClock
{
DateTimeOffset Now { get; }
DateOnly Today { get; }
DateTimeOffset UtcNow { get; }
DateOnly GetNextDayOfWeek(DayOfWeek dayOfWeek);
DateOnly GetLastDayOfMonth();
DateOnly GetNextMonthStart();
}