<ExtensionAttribute>
Public Shared Function LocalTimeIsValid (
localTime As DateTime,
lagTime As Double,
leadTime As Double
) As Boolean
public:
[ExtensionAttribute]
static bool LocalTimeIsValid(
DateTime localTime,
double lagTime,
double leadTime
)
Gemstone.DateTimeExtensions.DateTimeExtensions.LocalTimeIsValid = function(localTime, 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. |