format
Formats a UAN to canonical form: 12 consecutive digits, no separators.
EPFO enforces no display separator convention. The canonical form is the raw 12-digit string with all whitespace stripped. Example: UAN.format("1012 3456 7890") → "101234567890".
This method is idempotent: format(format(x)) == format(x).
Return
Canonical 12-digit UAN string with no separators.
Parameters
value
Raw UAN string.
Throws
if value is not a valid UAN. The exception message includes the (truncated) input for diagnostics.
Samples
check(UAN.format("100123456789") == "100123456789")Content copied to clipboard