intlNumberFormat property
This field is populated only when the national significant number is
formatted differently when it forms part of the INTERNATIONAL format
and NATIONAL format. A case in point is mobile numbers in Argentina:
The number, which would be written in INTERNATIONAL format as
+54 9 343 555 1212, will be written as 0343 15 555 1212 for NATIONAL
format. In this case, the prefix 9 is inserted when dialling from
overseas, but otherwise the prefix 0 and the carrier selection code
15 (inserted after the area code of 343) is used.
Note: this field is populated by setting a value for <intlFormat>
inside
the <numberFormat>
tag in the XML file. If <intlFormat>
is not set then it
defaults to the same value as the <format>
tag.
Examples:
To set the <intlFormat>
to a different value than the <format>
:
<numberFormat pattern=....>
<format>
$1 $2 $3</format>
<intlFormat>
$1-$2-$3</intlFormat>
</numberFormat>
To have a format only used for national formatting, set <intlFormat>
to
"NA":
<numberFormat pattern=....>
<format>
$1 $2 $3</format>
<intlFormat>
NA</intlFormat>
</numberFormat>
Implementation
@$pb.TagNumber(20)
$core.List<NumberFormat> get intlNumberFormat => $_getList(18);