OffsetDateTimeProvider Constructor |
Initializes a new instance of the
OffsetDateTimeProvider class using a specified offset to the current date and time.
Namespace:
Enkoni.Framework
Assembly:
Enkoni.Framework (in Enkoni.Framework.dll) Version: 1.3.0.1
Syntaxpublic OffsetDateTimeProvider(
TimeSpan offset
)
Public Sub New (
offset As TimeSpan
)
public:
OffsetDateTimeProvider(
TimeSpan offset
)
new :
offset : TimeSpan -> OffsetDateTimeProvider
Parameters
- offset
- Type: SystemTimeSpan
A negative of positive offset that will be added to the DateTime values that are retrieved through the properties and methods of this class.
Exceptions
See Also