fromXdr static method

TimeBounds fromXdr(
  1. XdrTimeBounds timeBounds
)

Creates a TimeBounds instance from a timeBounds XdrTimeBounds object.

Implementation

static TimeBounds fromXdr(XdrTimeBounds timeBounds) {
  return TimeBounds(timeBounds.minTime.uint64, timeBounds.maxTime.uint64);
}