Hayz Calendar
Hayız Takvimi
Track hayz and purity days by Hanafi and Shafi'i fiqh. Your data stays on your device.
Overview
Hayz Calendar is a simple, private tracker that calculates hayz (menstruation), tuhr (purity) and istihaza days according to Islamic jurisprudence. You enter when bleeding starts and ends; the app works out the ruling for that day and your next cycle.
You can also log intensity, colour, discharge, mood and symptoms if you want to. All records stay on your phone, and the app does not even have internet permission.
Highlights
- Separate calculations for the Hanafi and Shafi'i schools
- A clear ruling for each day: hayz, pure or istihaza
- Calendar with expected period, fertile days and ovulation estimate
- Optional symptom and mood logging
- Make-up fast tracking and a guide to fiqh terms
- Verse of the day, daily reminder and home screen widget
- PIN lock and backups, with data kept only on the device
- No ads; optional support, with every feature open to all
How I built it
Rulings change with the school of law and the course of bleeding, so I first wrote the calculation engine as a TypeScript prototype, validated it with tests, and then ported it to Dart for the Flutter app.
I solved privacy in the architecture rather than in a setting: I removed the Android internet permission from the app completely, so it technically cannot send data. The interface works in Turkish, English and Arabic, with every screen flipping right-to-left in Arabic. Separate tests check for missing translations and security issues.







