HijriCalendar class

Constructors

HijriCalendar()
HijriCalendar.addMonth(int year, int month)
HijriCalendar.fromDate(DateTime date)
HijriCalendar.now()
HijriCalendar.setLocal(String locale)
factory

Properties

dayWeName String
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
hDay int
read / write
hMonth int
read / write
hYear int
read / write
lengthOfMonth int
read / write
longMonthName String
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
shortMonthName String
read / write
wkDay int
read / write

Methods

format(dynamic year, dynamic month, dynamic day, dynamic format) → dynamic
fullDate() String
getDayName() String
getDaysInMonth(int year, int month) int
getLongMonthName() String
getShortMonthName() String
gregorianToHijri(dynamic pYear, dynamic pMonth, dynamic pDay) → dynamic
hDate(dynamic year, dynamic month, dynamic day) → dynamic
hijriToGregorian(dynamic year, dynamic month, dynamic day) → dynamic
isAfter(int year, int month, int day) bool
isAtSameMomentAs(int year, int month, int day) bool
isBefore(int year, int month, int day) bool
isValid() bool
julianToGregorian(dynamic julianDate) DateTime
lengthOfYear({int year: 0}) int
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toFormat(String format) String
toList() List<int>
toString() String
Returns a string representation of this object.
override
validateHijri(int year, int month, int day) → dynamic
wekDay() int

Operators

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

Static Properties

language String
read / write