Gets the metadata for this riwaya
Gets the riwaya name
Finds juz and calculates shift between juz start and surah start
Finds juz and shift for a given ayah ID
Finds juz metadata for a given surah and ayah
Finds the RubAlHizb for a given surah and ayah
Finds the ThumunAlHizb ID for a given ayah ID (Qalun only)
Finds the ThumunAlHizb ID for a given ayah ID (Qalun only)
Gets RubAlHizb data (juz, hizb, etc.) for a given ayah ID
Gets RubAlHizb data (juz, hizb, etc.) for a given ayah ID
Gets complete RubAlHizb metadata for a given ayah ID
Gets metadata for a specific ThumunAlHizb (Qalun only)
Checks if an ayah is the first ayah of a juz
Checks if an ayah is the first ayah of a page
StaticcreateCreate a QuranRiwaya instance with the specified riwaya, metadata, and lists
StaticisStaticstring2
QuranRiwaya class provides a clean API for Quran metadata operations with a specific riwaya (recitation tradition) context.
Currently provides basic Surah and Ayah operations. For advanced features like Juz, Page, Manzil, RubAlHizb, etc., use the functional API directly.
Example
Basic Usage with Hafs
Example
Working with Qalun
Example
Creating a custom instance
QuranRiwaya.create()takes a Lists object (SurahList, JuzList, PageList, etc. plus meta) shaped like the built-in Hafs/Qalun/Warsh data - see the implementations insrc/lists/as a reference for the required structure.