Table of Contents

Class DateTimeProviderBase

Namespace
LfrlAnvil.Chrono.Internal
Assembly
LfrlAnvil.Chrono.dll

Represents a provider of DateTime instances.

public abstract class DateTimeProviderBase : IDateTimeProvider, IGenerator<DateTime>, IGenerator
Inheritance
DateTimeProviderBase
Implements
Derived
Inherited Members

Constructors

DateTimeProviderBase(DateTimeKind)

Creates a new DateTimeProviderBase instance.

protected DateTimeProviderBase(DateTimeKind kind)

Parameters

kind DateTimeKind

Specifies the resulting DateTimeKind of created instances.

Properties

Kind

Specifies the resulting DateTimeKind of created instances.

public DateTimeKind Kind { get; }

Property Value

DateTimeKind

Methods

GetNow()

Returns the current DateTime.

public abstract DateTime GetNow()

Returns

DateTime

Current DateTime.