Lines Matching defs:Value
6 package Time::HiRes::Value;
23 C<Time::HiRes::Value> - a class representing a time value or interval in exact
84 =head2 $time = Time::HiRes::Value->new( $sec, $usec )
86 This function returns a new instance of a C<Time::HiRes::Value> object. This
90 If the C<I<$usec>> value is provided then the new C<Time::HiRes::Value> object
95 Time::HiRes::Value->new( -2, 500000 );
136 =head2 $time = Time::HiRes::Value->now()
138 This function returns a new instance of C<Time::HiRes::Value> containing the
208 This method returns a new C<Time::HiRes::Value> value, containing the sum of the
225 return Time::HiRes::Value->new( $self->[0] + $other->[0], $self->[1] + $other->[1] );
236 This method returns a new C<Time::HiRes::Value> value, containing the difference
255 return Time::HiRes::Value->new( $self->[0] - $other->[0], $self->[1] - $other->[1] );
264 This method returns a new C<Time::HiRes::Value> value, containing the product
265 of the passed values. C<$other> must not itself be a C<Time::HiRes::Value>
279 return Time::HiRes::Value->new( $self->[0] * $other, $self->[1] * $other );
286 This method returns a new C<Time::HiRes::Value> value, containing the quotient
287 of the passed values. C<$other> must not itself be a C<Time::HiRes::Value>
305 return Time::HiRes::Value->new( $self->[0] / $other, $self->[1] / $other );