phone-number.country-code

added in 8.12.4-0

Country calling codes handling for phone-number.

all

added in 8.12.4-0

Set of supported country codes.

all-arg

added in 8.12.4-0

Set of supported country codes (to be used as arguments).

all-arg-vec

added in 8.12.16-1

Vector of all supported country codes (valid as args).

all-vec

added in 8.12.4-0

Vector of all supported country codes.

by-val

added in 8.12.4-0

Set of supported values of country codes.

by-val-arg

added in 8.12.4-0

Set of supported values of country codes (to be used as method arguments).

by-val-arg-vec

added in 8.12.16-1

Vector of all supported country codes (valid as args).

by-val-vec

added in 8.12.4-0

Vector of all supported country codes.

generate-arg-sample

added in 8.12.16-1

(generate-arg-sample)(generate-arg-sample rng)

Generates a random country calling code.

generate-arg-sample-val

added in 8.12.16-1

(generate-arg-sample-val)(generate-arg-sample-val rng)

Generates a random country calling code.

generate-sample

added in 8.12.4-0

(generate-sample)(generate-sample rng)

Generates a random country calling code.

generate-sample-val

added in 8.12.16-1

(generate-sample-val)(generate-sample-val rng)

Generates a random country calling code.

parse

added in 8.12.4-0

(parse calling-code)

Parses a country calling code and returns a value that can be supplied to Libphonenumber methods.

valid-arg?

added in 8.12.16-1

(valid-arg? calling-code)

Returns true if the given region-specification is a valid region code (to be used as an argument), false otherwise.

valid?

added in 8.12.4-0

(valid? calling-code)

Returns true if the given region-specification is a valid region code, false otherwise.