Click or drag to resize

FixedDateTimeProvider Class

A provider that can be used to retrieve the current date and time using a fixed date and time.
Inheritance Hierarchy

Namespace:  Enkoni.Framework
Assembly:  Enkoni.Framework (in Enkoni.Framework.dll) Version: 1.3.0.1
Syntax
public class FixedDateTimeProvider : DateTimeProvider

The FixedDateTimeProvider type exposes the following members.

Constructors
  NameDescription
Public methodFixedDateTimeProvider
Initializes a new instance of the FixedDateTimeProvider class using a fixed date and time.
Top
Properties
  NameDescription
Public propertyMaxValue
Gets the largest possible value of DateTime.
(Inherited from DateTimeProvider.)
Public propertyMinValue
Gets the smallest possible value of DateTime.
(Inherited from DateTimeProvider.)
Public propertyNow
Gets a DateTime object that is set to the current date and time on this computer, expressed as the local time.
(Overrides DateTimeProviderNow.)
Public propertyToday
Gets the current date.
(Overrides DateTimeProviderToday.)
Public propertyUtcNow
Gets a DateTime object that is set to the current date and time on this computer, expressed as the Coordinated Universal Time (UTC).
(Overrides DateTimeProviderUtcNow.)
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also