DigitDateUtils class
Constructors
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
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
calculateAge(
DateTime? selectedDate) → DigitDOBAge -
dateToTimeStamp(
String dateTime) → int -
getDateFromTimestamp(
int timestamp, {String? dateFormat}) → String -
getDay(
int timeInMillis) → String -
getFilteredDate(
String date, {String? dateFormat}) → dynamic -
getFormattedDateToDateTime(
String date) → DateTime? -
getMonth(
DateTime date) → String -
getTimeFromTimestamp(
int timestamp, {bool is24HourFormat = false}) → String -
getYearsAndMonthsFromDateTime(
DateTime dateTime, [bool getMonths = false]) → dynamic -
isLeapYear(
int year) → bool -
timeStampToDate(
int? timeInMillis, {String? format}) → String -
yearsMonthsDaysToDays(
int years, int months, int days) → int -
yearsToDays(
int years) → int