DateTimeFormatter class

Implementers

Constructors

DateTimeFormatter()

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