logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Number::Phone::Formatter::National - formatter for nationally-formatted phone number

Description

       A formatter to output the number in its national format.

Method

format
       This is the only method. It takes an E.123 international format string and a Number::Phone object, and
       outputs the nationally-formatted number.

         +1 212 334 0611 -> 212-334-0611

       Note that this uses data derived from libphonenumber, and if your object is not derived from that it will
       first create a temporary object. This may involve a small unexpected performance hit.

Name

       Number::Phone::Formatter::National - formatter for nationally-formatted phone number

See Also