<ExtensionAttribute>
Public Shared Function UtcTimeIsValid (
utcTime As DateTime,
lagTime As Double,
leadTime As Double
) As Boolean
public:
[ExtensionAttribute]
static bool UtcTimeIsValid(
DateTime utcTime,
double lagTime,
double leadTime
)
Gemstone.DateTimeExtensions.DateTimeExtensions.UtcTimeIsValid = function(utcTime, lagTime, leadTime);
Time is considered valid if it exists within the specified lag time/lead time range of current time.
Note that lag time and lead time must be greater than zero, but can be set to sub-second intervals.
ArgumentOutOfRangeException | LagTime and LeadTime must be greater than zero, but can be less than one. |