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