Utils

Utils

Methods

(static) validateTimebounds(transaction) → {boolean}

Verifies if the current date is within the transaction's timebonds

Source:
Parameters:
Name Type Description
transaction Transaction

the transaction whose timebonds will be validated.

Returns:
Type:
boolean

returns true if the current time is within the transaction's [minTime, maxTime] range.