[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Given a current time and a reference time and an interval size, compute the amount of milliseconds till the next interval.

Namespace: net.esper.view.window
Assembly:   NEsper (in NEsper.dll)

Syntax

Visual Basic (Declaration)
Public Shared Function ComputeWaitMSec ( _
	current As Long, _
	reference As Long, _
	interval As Long _
) As Long
C#
public static long ComputeWaitMSec (
	long current,
	long reference,
	long interval
)
Visual C++
public:
static long long ComputeWaitMSec (
	long long current, 
	long long reference, 
	long long interval
)

Parameters

current
System.Int64
is the current time
reference
System.Int64
is the reference point
interval
System.Int64
is the interval size

Return Value

milliseconds after current time that marks the end of the current interval