isNegative method
Indicates whether the value of the TimeSpan is negative.
@return if the value of the TimeSpan is less than zero. otherwise.
Implementation
bool isNegative() {
return this.compareTo(TimeSpan.ZERO) < 0 ? true : false;
}
Indicates whether the value of the TimeSpan is negative.
@return if the value of the TimeSpan is less than zero. otherwise.
bool isNegative() {
return this.compareTo(TimeSpan.ZERO) < 0 ? true : false;
}