Determine whether the duration is finite.
| 63 | |
| 64 | // Determine whether the duration is finite. |
| 65 | bool IsFinite(absl::Duration d) { |
| 66 | return d != absl::InfiniteDuration() && d != -absl::InfiniteDuration(); |
| 67 | } |
| 68 | |
| 69 | // Determine whether the time is finite. |
| 70 | bool IsFinite(absl::Time t) { |
no outgoing calls
no test coverage detected