src/share/classes/java/time/format/DateTimeFormatterBuilder.java

Print this page

        

*** 937,947 **** * section of the formatter is optional. * <p> * During parsing, the offset is parsed using the format defined above. * If the offset cannot be parsed then an exception is thrown unless the * section of the formatter is optional. ! * <p> * @param style the format style to use, not null * @return this, for chaining, not null * @throws IllegalArgumentException if style is neither {@link TextStyle#FULL * full} nor {@link TextStyle#SHORT short} */ --- 937,947 ---- * section of the formatter is optional. * <p> * During parsing, the offset is parsed using the format defined above. * If the offset cannot be parsed then an exception is thrown unless the * section of the formatter is optional. ! * * @param style the format style to use, not null * @return this, for chaining, not null * @throws IllegalArgumentException if style is neither {@link TextStyle#FULL * full} nor {@link TextStyle#SHORT short} */