ArrowIntervalValue.monthDayNano constructor
ArrowIntervalValue.monthDayNano( - int months,
- int days,
- Object nanoseconds
)
Implementation
ArrowIntervalValue.monthDayNano(this.months, this.days, Object nanoseconds)
: unit = ArrowIntervalUnit.monthDayNano,
milliseconds = 0,
nanoseconds = _bigInt(nanoseconds) {
_checkInt32(months, 'months');
_checkInt32(days, 'days');
if (this.nanoseconds < -(BigInt.one << 63) ||
this.nanoseconds >= BigInt.one << 63) {
throw RangeError('nanoseconds does not fit int64');
}
}