Interface IClock
Namespace: Volo.Abp.Timing
Assembly: Volo.Abp.Timing.dll
Syntax
public interface IClock
Properties
Kind
Declaration
DateTimeKind Kind { get; }
Property Value
| Type | Description |
|---|---|
| DateTimeKind |
Now
Declaration
DateTime Now { get; }
Property Value
| Type | Description |
|---|---|
| DateTime |
SupportsMultipleTimezone
Declaration
bool SupportsMultipleTimezone { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Methods
Normalize(DateTime)
Declaration
DateTime Normalize(DateTime dateTime)
Parameters
| Type | Name | Description |
|---|---|---|
| DateTime | dateTime |
Returns
| Type | Description |
|---|---|
| DateTime |