MDateUtils 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
-
dateToDayOfMonth(
String date) → String -
dateToFormattedDate(
String? date, bool showYear, {bool? full}) → String -
dateToHourMinute(
String? date) → String -
dateToHourMinuteTimezone(
String? date) → String -
dateToMonth(
String date) → String -
getPostImage(
String id, String image) → String -
lastMonth(
) → DatePair -
lastYear(
) → DatePair -
monthYear(
String? date) → String -
nMonthAgo(
int n) → DateTime -
now(
) → DateTime -
nWeekAgo(
int n) → DateTime -
nYearAgo(
int n) → DateTime -
postgresDate(
String? date) → String -
sqlFormatDate(
DateTime date) → String -
testFormatDate(
DateTime date) → String -
thisMonth(
) → DatePair -
thisYear(
) → DatePair -
timeAgo(
String? date, {bool numericDates = false}) → String -
today(
) → DatePair -
yesterday(
) → DatePair