CustomTimeFunctions 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
-
convertTimeZone(
) → String -
convertToCurrentTimeZone(
DateTime dateTime, String fromTimeZone, String toTimeZone) → DateTime -
formatDateddmmyy(
DateTime date) → String -
formatDateddmmyyhhmmss(
DateTime date) → String -
formatDateInDateMonthNameyear(
DateTime time) → String -
formatDateIndayDateMonthAtTime(
DateTime time) → String -
formatDateInDayDateMonthAtTimeNew(
DateTime time) → String -
formatDateInHHMMDD(
DateTime time) → String -
formatDateMonthAndDate(
DateTime date) → String -
formatDateMonthAndYear(
DateTime? date) → String -
formatDayDateMonthAndYear(
DateTime? date) → String -
formatSeconds(
int seconds) → String -
formatTime(
TimeOfDay time) → String -
formatTimeForChat(
TimeOfDay time) → String -
formatTimeIn12Hrs(
TimeOfDay time) → String -
getAmPm(
TimeOfDay time) → String -
getDetailedDifference(
DateTime start, DateTime end) → String -
getMonth(
int day) → String -
getTimeFromDate(
DateTime? date, {String timeFormat = "hh:mm a'"}) → String -
getTimeLeft(
{required DateTime fromDateTime, required DateTime toDateTime}) → String -
getTimeList(
{int durationInMinutes = 30, int startingHour = 6, int endingHour = 23, int startingMinute = 0}) → List< TimeOfDay> -
getTimeZoneOffset(
String timeZone) → int -
getWeekDay(
int day) → String -
timeAgo(
DateTime d) → String