create a new datetimeformatter using this factory.if no specific pattern or style has been defined , formatstyle #medium medium date time format will be used . concode_field_sep FormatStyle dateStyle concode_elem_sep FormatStyle timeStyle concode_elem_sep ISO iso concode_elem_sep String pattern concode_elem_sep TimeZone timeZone concode_field_sep void setIso concode_elem_sep void setDateStyle concode_elem_sep void setDateTimeStyle concode_elem_sep void setTimeStyle concode_elem_sep FormatStyle convertStyleCharacter concode_elem_sep void setStylePattern concode_elem_sep void setTimeZone concode_elem_sep void setPattern
DateTimeFormatter function ( ) { return createDateTimeFormatter ( DateTimeFormatter . ofLocalizedDateTime ( FormatStyle . MEDIUM ) ) ; }