DateTimeFormatter class
- Implementers
Constructors
Properties
- dateTime ↔ EllaDateTime
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sb ↔ StringBuffer
-
getter/setter pair
Methods
-
format(
EllaDateTime dateTime, [String? formatString]) → String -
formatDate(
EllaDate date, [String formatString = I18N_FORMAT_DATE]) → String -
formatDateTime(
DateTime dateTime, [String? formatString]) → String -
formatField(
String formatChar, int count) → void -
formatIntoBuffer(
StringBuffer sb, EllaDateTime dateTime, [String? formatString]) → String -
formatTime(
EllaTime time, [String formatString = I18N_FORMAT_TIME]) → String -
getDefaultFormatString(
) → String -
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
-
quickFormat(
EllaDateTime dateTime, [String? formatString]) → String -
quickFormatDate(
EllaDate date, [String formatString = I18N_FORMAT_DATE]) → String -
quickFormatDateTime(
DateTime dateTime, [String formatString = I18N_DEFAULT_FORMAT]) → String
Constants
- I18N_DEFAULT_FORMAT → const String
- I18N_FORMAT_DATE → const String
- I18N_FORMAT_DATE_SHORT → const String
- I18N_FORMAT_DATE_SHORT_YANK → const String
- I18N_FORMAT_DATE_WO_YEAR → const String
- I18N_FORMAT_DATETIME_WO_YEAR → const String
- I18N_FORMAT_DAY_OF_WEEK_AND_DATE → const String
- I18N_FORMAT_DAY_OF_WEEK_AND_DATE_YANK → const String
- I18N_FORMAT_DAY_OF_WEEK_SHORT → const String
- I18N_FORMAT_TIME → const String