BaseDateUtils 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
-
convertedDateFormat(String dateString, {String fromThis = DateConstants.apiDateFormat, String toThis = DateConstants.commonDateFormat})
→ String
-
-
dateToISOString(DateTime date, {String isoDateFormat = DateConstants.isoDateFormat})
→ String
-
-
dateToString(DateTime date, {String dateFormat = DateConstants.commonDateFormat})
→ String
-
-
getCurrentDateString({String dateFormat = DateConstants.dateFormat})
→ String
-
-
getDaysInBetween(DateTime startDate, DateTime endDate)
→ List<DateTime>
-
-
getLocalTime({required String dateUtc, String apiDateFormat = DateConstants.apiDateFormat, String commonTimeFormat = DateConstants.commonTimeFormat})
→ String
-
-
getUtcDate({String dateFormat = DateConstants.apiDateFormat})
→ String
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
parseDate(String dateUtc, {String apiDateFormat = DateConstants.apiDateFormat, String dateFormat = DateConstants.dateFormat, String commonTimeFormat = DateConstants.commonTimeFormat, String commonDateFormat = DateConstants.commonDateFormat})
→ String
-
-
stringToDate(String dateString, {String dateFormat = DateConstants.commonDateFormat})
→ DateTime
-
-
toString()
→ String
-
A string representation of this object.
inherited