DateTimeUtils class

Constructors

DateTimeUtils()

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

generateCurrentWeekDays() List<DateTime>
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 Properties

monthsList List<String>
getter/setter pair
presentDate DateTime
getter/setter pair
shortMonthsList List<String>
getter/setter pair
weekDayList List<String>
getter/setter pair

Static Methods

getDate({DateTime? dateTime}) String
getMonth({DateTime? dateTime, bool isShort = false}) String
getTime({DateTime? date}) String
getWeekDay() String
getWholeDate({bool isIncludeTime = false, DateTime? date}) String
timeAgoSinceDate({required DateTime date}) String