set the two characters to use to format date values , in joda-time style . the first character is used for the date style ; the second is for the time style . supported characters are : 's ' = small 'm ' = medium ` l' = long ` f ' = full ' - ' = omitted this method mimics the styles supported by joda-time . note that jsr-310 natively favors java.time.format.formatstyle as used for #setdatestyle , #settimestyle and #setdatetimestyle . 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 setTimeZone concode_elem_sep DateTimeFormatter createDateTimeFormatter concode_elem_sep DateTimeFormatter createDateTimeFormatter concode_elem_sep void setPattern
void function ( String arg0 ) { Assert . isTrue ( arg0 != null && arg0 . length ( ) == 2 ) ; this . dateStyle = convertStyleCharacter ( arg0 . charAt ( 0 ) ) ; this . timeStyle = convertStyleCharacter ( arg0 . charAt ( 1 ) ) ; }