85b362e8cd
- add the standalone HrynCo.Common solution and projects - include the shared common library source and tests - add package metadata and a repo gitignore
11 lines
268 B
C#
11 lines
268 B
C#
namespace HrynCo.Common;
|
|
|
|
public interface IClock
|
|
{
|
|
DateTimeOffset Now { get; }
|
|
DateOnly Today { get; }
|
|
DateTimeOffset UtcNow { get; }
|
|
DateOnly GetNextDayOfWeek(DayOfWeek dayOfWeek);
|
|
DateOnly GetLastDayOfMonth();
|
|
DateOnly GetNextMonthStart();
|
|
} |