Class EthiopicCal
				
				
Extends
					Calendar.
				
			
				Construct a new Ethiopic calendar object. This class encodes information about
a Ethiopic calendar.
				
				
					
Defined in:  EthiopicCal.js.
				
			
| Constructor Attributes | Constructor Name and Description | 
|---|---|
| 
								EthiopicCal(options)
							 | 
| Method Attributes | Method Name and Description | 
|---|---|
| getMonLength(month, year)
								 Return the number of days in a particular month in a particular year. | |
| getNumMonths(year)
								 Return the number of months in the given year. | |
| getType()
								 Return the type of this calendar. | |
| isLeapYear(year)
								 Return true if the given year is a leap year in the Ethiopic calendar. | 
					Class Detail
				
				
				
						EthiopicCal(options)
				
				
				- Parameters:
- {Object=} options
- Options governing the construction of this instance
					Method Detail
				
				
					 
					
					
					{number}
					getMonLength(month, year)
					
					
					
						Return the number of days in a particular month in a particular year. This function
can return a different number for a month depending on the year because of things
like leap years.
						
						
					
					
					
					
						
							- Parameters:
- {number|string} month
- the month for which the length is sought
- {number} year
- the year within which that month can be found
- Returns:
- {number} the number of days within the given month in the given year
					
					
					getNumMonths(year)
					
					
					
						Return the number of months in the given year. The number of months in a year varies
for lunar calendars because in some years, an extra month is needed to extend the
days in a year to an entire solar year. The month is represented as a 1-based number
where 1=Maskaram, 2=Teqemt, etc. until 13=Paguemen.
						
						
					
					
					
					
						
							- Parameters:
- {number} year
- a year for which the number of months is sought
					
					{string}
					getType()
					
					
					
						Return the type of this calendar.
						
						
					
					
					
					
						
						
						
						
						
							- Returns:
- {string} the name of the type of this calendar
					
					{boolean}
					isLeapYear(year)
					
					
					
						Return true if the given year is a leap year in the Ethiopic calendar.
The year parameter may be given as a number, or as a JulDate object.
						
						
					
					
					
					
						
							- Parameters:
- {number|EthiopicDate|string} year
- the year for which the leap year information is being sought
- Returns:
- {boolean} true if the given year is a leap year