two : NTP ;
-- This feature returns the numeric value 'two' as a number of the
-- inheriting class.
max(
other : NTP
) : NTP ;
-- This routine returns the value which is the larger of self and other.
min(
other : NTP
) : NTP ;
-- This feature returns the value which is the lesser of self and other.
in_range(
lower : NTP,
upper : NTP
) : BOOL ;
-- This predicate returns true if and only if self has a value between
-- lower and upper inclusive.
in_range(
rng : $RANGE{NTP}
) : BOOL ;
-- This predicate returns true if and only if self has a value within
-- the given range.
in_tolerance(
tolerance,
val : NTP
) : BOOL ;
-- This predicate returns true if and only if the value of self is
-- within the given tolerance of val.