QuranIntExtensions extension

Extensions on int for Quran-specific operations.

on

Properties

asReadingTime String

Available on int, provided by the QuranIntExtensions extension

Format as reading time (e.g., "5 minutes", "1 hour 30 minutes")
no setter
companionHizb int

Available on int, provided by the QuranIntExtensions extension

Get the companion Hizb number (the other half of the same Juz)
no setter
hizbToJuz int

Available on int, provided by the QuranIntExtensions extension

Convert Hizb number to its parent Juz number
no setter
isFirstHizbOfJuz bool

Available on int, provided by the QuranIntExtensions extension

Check if Hizb number is the first Hizb of its Juz
no setter
isSecondHizbOfJuz bool

Available on int, provided by the QuranIntExtensions extension

Check if Hizb number is the second Hizb of its Juz
no setter
isValidHizbNumber bool

Available on int, provided by the QuranIntExtensions extension

Check if the number is a valid Hizb number (1-60)
no setter
isValidJuzNumber bool

Available on int, provided by the QuranIntExtensions extension

Check if the number is a valid Juz number (1-30)
no setter
isValidSurahId bool

Available on int, provided by the QuranIntExtensions extension

Check if the number is a valid surah ID (1-114)
no setter
juzToFirstHizb int

Available on int, provided by the QuranIntExtensions extension

Convert Juz number to its first Hizb number
no setter
juzToSecondHizb int

Available on int, provided by the QuranIntExtensions extension

Convert Juz number to its second Hizb number
no setter
ordinal String

Available on int, provided by the QuranIntExtensions extension

Convert to ordinal string (1st, 2nd, 3rd, etc.)
no setter
toArabicNumerals String

Available on int, provided by the QuranIntExtensions extension

Convert to Arabic-Indic numerals
no setter