The recording of the first ever ReactiveUI virtual conference is available on our YouTube Channel.

VirtualTimeSchedulerBase<TAbsolute, TRelative>.ToDateTimeOffset()

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)


Protected MustOverride Function ToDateTimeOffset ( _
    absolute As TAbsolute _
) As DateTimeOffset
Dim absolute As TAbsolute
Dim returnValue As DateTimeOffset

returnValue = Me.ToDateTimeOffset(absolute)
protected abstract DateTimeOffset ToDateTimeOffset(
    TAbsolute absolute
virtual DateTimeOffset ToDateTimeOffset(
    TAbsolute absolute
) abstract
abstract ToDateTimeOffset : 
        absolute:'TAbsolute -> DateTimeOffset 
protected abstract function ToDateTimeOffset(
    absolute : TAbsolute
) : DateTimeOffset


  • absolute
    Type: [TAbsolute](VirtualTimeSchedulerBase/VirtualTimeSchedulerBase(TAbsolute,)
    The absolute time value to convert.

Return Value

Type: System.DateTimeOffset
The corresponding DateTimeOffset value.

See Also


[VirtualTimeSchedulerBase<TAbsolute, TRelative> Class](VirtualTimeSchedulerBase/VirtualTimeSchedulerBase(TAbsolute,)

System.Reactive.Concurrency Namespace