- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for NormalizedTimeUnit (0.21 sec)
-
subprojects/core/src/main/java/org/gradle/internal/typeconversion/NormalizedTimeUnit.java
import java.util.concurrent.TimeUnit; public class NormalizedTimeUnit { private int value; private TimeUnit timeUnit; public NormalizedTimeUnit(int value, TimeUnit timeUnit) { this.value = value; this.timeUnit = timeUnit; } public static NormalizedTimeUnit millis(int value) { return new NormalizedTimeUnit(value, TimeUnit.MILLISECONDS); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 02 16:56:13 UTC 2016 - 1.2K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/typeconversion/TimeUnitsParser.java
import org.gradle.api.InvalidUserDataException; import java.util.concurrent.TimeUnit; import static org.gradle.internal.typeconversion.NormalizedTimeUnit.millis; public class TimeUnitsParser { public NormalizedTimeUnit parseNotation(CharSequence notation, int value) { String candidate = notation.toString().toUpperCase(); //jdk5 does not have days, hours or minutes, normalizing to millis
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jul 25 21:38:50 UTC 2019 - 1.6K bytes - Viewed (0)