Class ChainTime

A Value Object to facilitate Chain Timestamp conversions.

Methods

  • Checks if a chainTime is after a given one

    Parameters

    • chainTime: ChainTime

      The other value to be compared

    Returns boolean

    true if after a given chainTime, otherwise false

  • Checks if a chainTime is before a given one

    Parameters

    • chainTime: ChainTime

      The other value to be compared

    Returns boolean

    true if before a given chainTime, otherwise false