Source code for aladhan.enums

from enum import Enum

__all__ = ("Schools", "MidnightModes", "LatitudeAdjustmentMethods", "Shafaq")


[docs]class Schools(Enum): """Available schools""" STANDARD = SHAFI = 0 HANAFI = 1
[docs]class MidnightModes(Enum): """Available midnight modes""" STANDARD = 0 JAFARI = 1
[docs]class LatitudeAdjustmentMethods(Enum): """Available latitude adjustment methods""" MIDDLE_OF_THE_NIGHT = 1 ONE_SEVENTH = 2 ANGLE_BASED = 3
[docs]class Shafaq(Enum): GENERAL = "general" RED = "ahmer" WHITE = "abyad"