Interface IClock
Namespace: Volo.Abp.Timing
Assembly: Volo.Abp.Timing.dll
Syntax
public interface IClock
Properties
Kind
Gets kind.
Declaration
DateTimeKind Kind { get; }
Property Value
| Type | Description |
|---|---|
| DateTimeKind |
Now
Gets Now.
Declaration
DateTime Now { get; }
Property Value
| Type | Description |
|---|---|
| DateTime |
SupportsMultipleTimezone
Is that provider supports multiple time zone.
Declaration
bool SupportsMultipleTimezone { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Methods
Normalize(DateTime)
Normalizes given
Declaration
DateTime Normalize(DateTime dateTime)
Parameters
| Type | Name | Description |
|---|---|---|
| DateTime | dateTime | DateTime to be normalized. |
Returns
| Type | Description |
|---|---|
| DateTime | Normalized DateTime |