TicksUtcTimeIsValid(Ticks, Ticks) Method
Determines if time, represented by
Ticks value in UTC time, is valid by comparing it to
the system clock.
Namespace: GemstoneAssembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.137 -- Release Build+84492f84208b356bfb930d6c506a4bce06d2449a
public bool UtcTimeIsValid(
Ticks lagTime,
Ticks leadTime
)
Public Function UtcTimeIsValid (
lagTime As Ticks,
leadTime As Ticks
) As Boolean
public:
bool UtcTimeIsValid(
Ticks lagTime,
Ticks leadTime
)
function UtcTimeIsValid(lagTime, leadTime);
- lagTime Ticks
- The allowed lag time, in ticks, before assuming time is too old to be valid.
- leadTime Ticks
- The allowed lead time, in ticks, before assuming time is too advanced to be valid.
BooleanTrue, if UTC time represented by
Ticks value, is within the specified range.
Time, represented by
Ticks value, is considered valid if it exists within the specified
lagTime and
leadTime range of system clock time in UTC. Note
that
lagTime and
leadTime must be greater than zero.
ArgumentOutOfRangeException | lagTime and leadTime must be greater than zero.
|