isPositive method
Indicates whether the value of the TimeSpan is positive.
@return if the value of the TimeSpan is greater than zero. otherwise.
Implementation
bool isPositive() {
return this.compareTo(TimeSpan.ZERO) > 0 ? true : false;
}
Indicates whether the value of the TimeSpan is positive.
@return if the value of the TimeSpan is greater than zero. otherwise.
bool isPositive() {
return this.compareTo(TimeSpan.ZERO) > 0 ? true : false;
}