@Test public void testParseDurationValueProvider() { final ValueProvider<String> provider = StaticValueProvider.of("13s"); assertEquals(Time.parseDuration(provider).get().getMillis(), SECONDS.toMillis(13)); }
public static org.joda.time.Duration parseDuration(String value) { return parseJodaDuration(value); }
Time { public static org.joda.time.Duration parseDuration(String value) { return parseJodaDuration(value); } }
Time { public static org.joda.time.Duration parseDuration(String value) { return parseJodaDuration(value); }  }
Time { public static org.joda.time.Duration parseDuration(String value) { return parseJodaDuration(value); }  static org.joda.time.Duration parseDuration(String value); static ValueProvider<org.joda.time.Duration> parseDuration(ValueProvider<String> value); static long parseSeconds(String value); static ValueProvider<Long> parseSeconds(ValueProvider<String> value); static Instant parseAsInstantOrNull(String timestamp); static String epochMicrosToTimestamp(Long epochMicros); static String epochNanosToTimestamp(Long epochNanos); }
Time { public static org.joda.time.Duration parseDuration(String value) { return parseJodaDuration(value); }  static org.joda.time.Duration parseDuration(String value); static ValueProvider<org.joda.time.Duration> parseDuration(ValueProvider<String> value); static long parseSeconds(String value); static ValueProvider<Long> parseSeconds(ValueProvider<String> value); static Instant parseAsInstantOrNull(String timestamp); static String epochMicrosToTimestamp(Long epochMicros); static String epochNanosToTimestamp(Long epochNanos);  }