@Test void testVersion() { final Version v = Version.valueOf("1493646202"); assertEquals("2017-05-01T13:43:22Z", v.getInstant().toString(), "Check datetime string"); assertEquals("2017-05-01T13:43:22Z", v.toString(), "Check stringified version"); }
public Version(final Instant time) { this.time = time; }
Version { public Version(final Instant time) { this.time = time; } }
Version { public Version(final Instant time) { this.time = time; } Version(final Instant time); }
Version { public Version(final Instant time) { this.time = time; } Version(final Instant time); Instant getInstant(); @Override String toString(); static Version valueOf(final String value); }
Version { public Version(final Instant time) { this.time = time; } Version(final Instant time); Instant getInstant(); @Override String toString(); static Version valueOf(final String value);  }