@Deprecated public class PersonNameFormatter extends Object
| REFERRING | ADDRESSING | MONOGRAM | ||||
|---|---|---|---|---|---|---|
| FORMAL | INFORMAL | FORMAL | INFORMAL | FORMAL | INFORMAL | |
| LONG | James Earl Carter Jr. | Jimmy Carter | Mr. Carter | Jimmy | JEC | JC |
| MEDIUM | James E. Carter Jr. | Jimmy Carter | Mr. Carter | Jimmy | C | J |
| SHORT | J. E. Carter | Jimmy Carter | Mr. Carter | Jimmy | C | J |
| Modifier and Type | Class and Description |
|---|---|
static class |
PersonNameFormatter.Builder
Deprecated.
This API is for technology preview only.
|
static class |
PersonNameFormatter.Formality
Deprecated.
This API is for technology preview only.
|
static class |
PersonNameFormatter.Length
Deprecated.
This API is for technology preview only.
|
static class |
PersonNameFormatter.Options
Deprecated.
This API is for technology preview only.
|
static class |
PersonNameFormatter.Usage
Deprecated.
This API is for technology preview only.
|
| Constructor and Description |
|---|
PersonNameFormatter(Locale locale,
String[] patterns)
Deprecated.
This API is for unit testing only.
|
| Modifier and Type | Method and Description |
|---|---|
static PersonNameFormatter.Builder |
builder()
Deprecated.
This API is for technology preview only.
|
String |
formatToString(PersonName name)
Deprecated.
This API is for technology preview only.
|
PersonNameFormatter.Builder |
toBuilder()
Deprecated.
This API is for technology preview only.
|
@Deprecated public PersonNameFormatter(Locale locale, String[] patterns)
@Deprecated public static PersonNameFormatter.Builder builder()
@Deprecated public PersonNameFormatter.Builder toBuilder()
@Deprecated public String formatToString(PersonName name)
name - A PersonName object that supplies individual field values (optionally, with modifiers applied)
to the formatter for formatting.Copyright © 2016 Unicode, Inc. and others.