fromXdr method
- XdrTimeBounds timeBounds
Creates a TimeBounds instance from a timeBounds
XdrTimeBounds object.
Implementation
static TimeBounds fromXdr(XdrTimeBounds timeBounds) {
if (timeBounds == null) {
return null;
}
return TimeBounds(timeBounds.minTime.uint64, timeBounds.maxTime.uint64);
}