FlutterDateDifferenceHelper class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
countsToString(int yearCount, int monthCount, int dayCount, int hourCount, int minuteCount)
→ String
-
String method countsToString
takes yearCount,monthCount and dayCount
and return int value differenceText
-
getDayCountInMonth(int year, int month)
→ int
-
int method getDayCountInMonth
takes year and month
and return int value dayCountInMonth
-
setLanguage(String language)
→ void
-
Set language
-
setTexts({String? now, String? year, String? yearPlural, String? month, String? monthPlural, String? day, String? dayPlural, String? hour, String? hourPlural, String? minute, String? minutePlural})
→ void
-
Set texts
-
toArabicNumber(int number)
→ String
-
String method toArabicNumber
takes the number
and return String value arabicNumber