negate method
Returns a TimeSpan whose value is the negated value of this TimeSpan.
@return a TimeSpan whose value is the negated value of this TimeSpan.
Implementation
TimeSpan negate() {
return new TimeSpan(-this.time);
}
Returns a TimeSpan whose value is the negated value of this TimeSpan.
@return a TimeSpan whose value is the negated value of this TimeSpan.
TimeSpan negate() {
return new TimeSpan(-this.time);
}