@Test public void testParseSeconds() { assertEquals(Time.parseSeconds("13s"), 13L); assertEquals(Time.parseSeconds("4m"), MINUTES.toSeconds(4)); }
public static long parseSeconds(String value) { return parsePositiveJavaDuration(value).getSeconds(); }
Time { public static long parseSeconds(String value) { return parsePositiveJavaDuration(value).getSeconds(); } }
Time { public static long parseSeconds(String value) { return parsePositiveJavaDuration(value).getSeconds(); }  }
Time { public static long parseSeconds(String value) { return parsePositiveJavaDuration(value).getSeconds(); }  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 long parseSeconds(String value) { return parsePositiveJavaDuration(value).getSeconds(); }  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);  }