- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for toNanosSaturated (0.06 sec)
-
guava/src/com/google/common/base/Internal.java
*/ // We use this method only for cases in which we need to decompose to primitives. @SuppressWarnings({"GoodTime-ApiWithNumericTimeUnit", "GoodTime-DecomposeToPrimitive"}) @IgnoreJRERequirement static long toNanosSaturated(Duration duration) { // Using a try/catch seems lazy, but the catch block will rarely get invoked (except for // durations longer than approximately +/- 292 years). try { return duration.toNanos();Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 15:16:19 UTC 2025 - 1.9K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Internal.java
*/ // We use this method only for cases in which we need to decompose to primitives. @SuppressWarnings({"GoodTime-ApiWithNumericTimeUnit", "GoodTime-DecomposeToPrimitive"}) @IgnoreJRERequirement static long toNanosSaturated(Duration duration) { // Using a try/catch seems lazy, but the catch block will rarely get invoked (except for // durations longer than approximately +/- 292 years). try { return duration.toNanos();Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 15:16:19 UTC 2025 - 1.9K bytes - Viewed (0)