BahireHasab class

"Bahire Hasab /'bəhrɛ həsəb'/ " simply means "An age with a descriptive and chronological number". In some books it can also be found as "Hasabe Bahir", in a sense giving time an analogy, resembling a sea.

As the different documents explain, a sea is a never-ending, constant flow of water from its source to limits incomprehensible to the senses of man. As is time.

There are 8 Rules or you can call them conventions too. These are:

  1. When calculating wenberwhich is remainder of ameteAlem by 19, subtract 1 (ONE) from the remainder as of the story in ancient calculation "አንዱን ለዘመኑ ሰጠው".

  2. If metkih > 14, then month of metkih will be at the FIRST month of the year. which is መስከረም.

  3. If metkih <= 14, then month of metkih will be at the SECOND month of the year. which is ጥቅምት.

  4. If month of metkih is መስከረም (the FIRST month), then Nineveh or nenewe will be in ጥር (the FIFTH month).

  5. If month of metkih is ጥቅምት (the FIRST month), then Nineveh or nenewe will be in የካቲት (the SIXTH month).

  6. If the summation of metkih and the corresponding number of the weekday that metkih is on, is greater than 30 (> 30) then Nineveh or nenewe will be in የካቲት (the SIXTH month).

  7. If the value of wenber == 0, the corresponding value of the 30th weekday for መስከረም (the first month) will be the value of MEBAJA HAMER which is technically metkih + weekday corresponding value or number.

  8. If the value of wenber == 0, then Nineveh or nenewe will be in የካቲት (the SIXTH month)

Constructors

BahireHasab({int year = -1})

Properties

abekte int
Abekte means the difference between solar and lunar years. The initial or the first or the ancient value of Abekte is 11.
no setter
allAtswamat List
This function returns an List of Map object. which is structured in the form of
no setter
ameteAlem int
Amete alem (አመተ ዓለም) is the total years from the creation day. In Ethiopian calendar the day of Adam and Eve creation is believed to be 5500 years before Christ which is referred as Year of Agony or ( አመተ ፍዳ ). And this function is used to calculate the number of years from the creation day till the given year, or current year if year parameter is not provided.
no setter
hashCode int
The hash code for this object.
no setterinherited
metkih int
Metkih the name of feast and Hebrew New Year in which the shofar is announced. It usually destined on the Seventh month of the first day of the moon.
no setter
nenewe Map<String, dynamic>
This function returns the date Tsome Nenewe or Nineveh will be at. to get this date we need to get Mebaja Hamer(beginning)
no setter
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool
If set to true, the toString method will be overridden to output this instance's props.
no setter
wenber int
A variable that helps to get Abekte and Metkih
no setter

Methods

getEvangelist({bool returnName = false}) String
Getting the evangelist of the given year, if year is not provided it will take the current year and the years before christ ( አመተ ፍዳ ) and get the age of earth, since creation day of Adam and Eve and, divide it by 4 and then
getMeskeremOne({bool returnName = false}) String
Get year's first weekday of current year or the very first weekday that the current year is going to be start from. It returns the name of the weekday if returnName=true otherwise it will return the index of the weekday from list of weekdays.
getSingleBealOrTsom(String name) Map<String, dynamic>?
A function to compute the month and day of the given feast of the fasting or feasting (Holiday). It returns Map object with the form of
isMovableHoliday(String holidayName) bool
Checks whether the given holiday is movable or not. returns true if movable else return false.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
yebealeMetkihWer() int
This function returns the month index value assuming መስከረም with index value of 0 which are

Operators

operator ==(Object other) bool
The equality operator.
inherited