Testscheduler

TestScheduler.ToDateTimeOffset Method

Converts the absolute virtual time value to a DateTimeOffset value.

Namespace:  Microsoft.Reactive.Testing
Assembly:  Microsoft.Reactive.Testing (in Microsoft.Reactive.Testing.dll)

Syntax

'Declaration
Protected Overrides Function ToDateTimeOffset ( _
    absolute As Long _
) As DateTimeOffset
'Usage
Dim absolute As Long
Dim returnValue As DateTimeOffset

returnValue = Me.ToDateTimeOffset(absolute)
protected override DateTimeOffset ToDateTimeOffset(
    long absolute
)
protected:
virtual DateTimeOffset ToDateTimeOffset(
    long long absolute
) override
abstract ToDateTimeOffset : 
        absolute:int64 -> DateTimeOffset 
override ToDateTimeOffset : 
        absolute:int64 -> DateTimeOffset 
protected override function ToDateTimeOffset(
    absolute : long
) : DateTimeOffset

Parameters

  • absolute
    Type: System.Int64
    The absolute virtual time value to convert.

Return Value

Type: System.DateTimeOffset
The corresponding DateTimeOffset value.

See Also

Reference

TestScheduler Class

Microsoft.Reactive.Testing Namespace