utils/u_persian_tools
library
Classes
-
UAccountNumberModel
-
A bank account number and its display format.
-
UBankInfo
-
An Iranian bank: nickname, English and Persian name, account number from a Sheba.
-
UOperator
-
Iranian mobile operator (همراه اول، ایرانسل، رایتل…).
-
UOperatorDetail
-
What a mobile prefix says: operator, SIM type, province, model.
-
UPersianTools
-
Iranian helpers: national code, card/Sheba checks and bank names, number ⇄ Persian words, mobile operator lookup.
UPersianTools.validateNationalCode("0012345678")
Enums
-
UDigitLocale
-
Digit style for UPersianTools.convertDigits: en (0-9), fa (۰-۹), ar (٠-٩).
-
USimCardType
-
Iranian SIM type: credit (اعتباری), permanent (دائمی) or both.