Used to get date time information.
Gets the current provider date time kind.
public DateTimeKind Kind { get; }
Gets Now using the current clock provider.
public DateTime Now { get; }
An IClockProvider to use to perform date time operations. Defaults to UtcClockProvider.
public IClockProvider Provider { get; set; }
Normalizes dateTime using the current provider.
public DateTime Normalize(dateTime)
Name | Type | Summary |
---|---|---|
dateTime | DateTime |