| java.lang.Object java.text.Format org.databene.region.PhoneNumberFormat
PhoneNumberFormat | public class PhoneNumberFormat extends Format (Code) | | Formats a phone code.
The following pattern letters are defined:
Letter | Phone Number Component |
c | country code |
a | area code |
l | local |
Any other character will be used 'as is'.
Examples:
Pattern | Rendered as |
+c-a-l | +49-1234-5678 |
0al | 012345678 |
00c(a)l | 0049(1234)5678 |
since: 0.3.05 author: Volker Bergmann |
PhoneNumberFormat | public PhoneNumberFormat(String pattern)(Code) | | |
|
|