DateHelper class
Helper class to format DateTime.
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 Properties
- backendDateWithHyphen ↔ DateFormat
-
getter/setter pair
- completeWithDayName ↔ DateFormat
-
getter/setter pair
- completeWithShortDayName ↔ DateFormat
-
getter/setter pair
- dateFormat ↔ DateFormat
-
getter/setter pair
- dateMonthFormat ↔ DateFormat
-
getter/setter pair
- dateMonthNameFormat ↔ DateFormat
-
getter/setter pair
- dateTimeFormat ↔ DateFormat
-
getter/setter pair
- dateWithShortNames ↔ DateFormat
-
getter/setter pair
- exifDateFormat ↔ DateFormat
-
getter/setter pair
- month ↔ DateFormat
-
getter/setter pair
- monthTwoDigits ↔ DateFormat
-
getter/setter pair
- year ↔ DateFormat
-
getter/setter pair
- yearMonth ↔ DateFormat
-
getter/setter pair
- yearMonthShort ↔ DateFormat
-
getter/setter pair
Static Methods
-
formatBackendDateWithHyphen(
DateTime date) → String -
formatCompleteWithDayName(
DateTime date) → String -
formatCompleteWithShortDayName(
DateTime date) → String -
formatDate(
DateTime date) → String -
formatDateMonth(
DateTime date) → String -
formatDateMonthName(
DateTime date) → String -
formatDateTime(
DateTime date) → String -
formatDateWithShortNames(
DateTime date) → String -
formatDateYear(
DateTime date) → String -
formatMonth(
DateTime date) → String -
formatMonthDayWithSuffixYearTime(
DateTime date) → String -
formatMonthTwoDigits(
DateTime date) → String -
formatYear(
DateTime date) → String -
formatYearMonthShort(
DateTime date) → String -
getDayOfMonthSuffix(
int dayNum) → String