src/main/java/org/trellisldp/http/domain/Version.java
/**
     * Create a Version object from a string value
     * @param value the header value
     * @return a Version header or null if the value is not parseable
     */
Create a Version object from a string value
@param value the header value
@return a Version header or null if the value is not parseable
Create a Version object from a string value @param value the header value @return a Version header or null if the value is not parseable
public static Version valueOf(final String value) {
        final Optional<Instant> time = parse(value);
        if (time.isPresent()) {
            return new Version(time.get());
        }
        return null;
    }
public static Version valueOf ( final String value ) { final Optional < Instant > time = parse ( value ) ; if ( time . isPresent ( ) ) { return new Version ( time . get ( ) ) ; } return null ; }
Create a Version object from a string value
 @param value the header value
 @return a Version header or null if the value is not parseable
Create a Version object from a string value @param value the header value @return a Version header or null if the value is not parseable