VirtualTimeSchedulerBase<TAbsolute, TRelative>.ToDateTimeOffset Method
Converts the absolute time value to a DateTimeOffset value.
Namespace: System.Reactive.Concurrency
Assembly: System.Reactive (in System.Reactive.dll)
Syntax
'Declaration
Protected MustOverride Function ToDateTimeOffset ( _
absolute As TAbsolute _
) As DateTimeOffset
'Usage
Dim absolute As TAbsolute
Dim returnValue As DateTimeOffset
returnValue = Me.ToDateTimeOffset(absolute)
protected abstract DateTimeOffset ToDateTimeOffset(
TAbsolute absolute
)
protected:
virtual DateTimeOffset ToDateTimeOffset(
TAbsolute absolute
) abstract
abstract ToDateTimeOffset :
absolute:'TAbsolute -> DateTimeOffset
protected abstract function ToDateTimeOffset(
absolute : TAbsolute
) : DateTimeOffset
Parameters
- absolute
Type: TAbsolute
The absolute time value to convert.
Return Value
Type: System.DateTimeOffset
The corresponding DateTimeOffset value.