Returns a new formatter with a different locale that will be used for printing and parsing.
A DateTimeFormatter is immutable, so a new instance is returned, and the original is unaltered and still usable.
@param locale the locale to use; if null, formatter uses default localeat invocation time
@return the new formatter
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.