3 ms·You define an Interval type, and check the constraint in its constructor.by fph 1y agoYou define an Interval type, and check the constraint in its constructor.