AdeptDateTime class

Created by Luis on 09/02/19.

Implementers

Constructors

AdeptDateTime({String date, int dateTimeMillis, DateTime dateAsDateTime, bool use24h, String dateFormatStandard, String formattedDateTimeFormat, String formattedDateFormat, String formattedTimeFormat})
AdeptDateTime.fromJson(String json)
factory
AdeptDateTime.fromJsonMap(Map<String, dynamic> json)
factory

Properties

date String
read / write
dateAsDateTime DateTime
@JsonKey(ignore: true), read / write
dateAsDateTimeLocal DateTime
@JsonKey(ignore: true), read / write
dateFormat String
@JsonKey(ignore: true), read / write
dateTimeMillis int
@JsonKey(ignore: true), read / write
formattedDateFormat String
@JsonKey(ignore: true), read / write
formattedDateTimeFormat String
@JsonKey(ignore: true), read / write
formattedTimeFormat String
@JsonKey(ignore: true), read / write
hashCode int
The hash code for this object. [...]
read-only, override
use24h bool
@JsonKey(ignore: true), read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

format({String format}) String
formatted() String
formattedDate() String
formattedDateShort() String
formattedShort() String
formattedTime() String
formattedTimeShort() String
getDate() String
getDateAsDateTime() DateTime
getDateAsDateTimeLocal() DateTime
getDateFormat() String
getDateTimeMillis() int
getFormattedDateFormat() String
getFormattedDateTimeFormat() String
getFormattedTimeFormat() String
setDate(String value) → dynamic
setDateAsDateTime(DateTime value) → dynamic
setDateAsDateTimeLocal(DateTime value) → dynamic
setDateFormat(String value) → dynamic
setDateTimeMillis(int value) → dynamic
setFormattedDateFormat(String value) → dynamic
setFormattedDateTimeFormat(String value) → dynamic
setFormattedTimeFormat(String value) → dynamic
toJson() String
toJsonMap() Map<String, dynamic>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator <(dynamic other) bool
operator <=(dynamic other) bool
operator ==(dynamic other) bool
The equality operator. [...]
override
operator >(dynamic other) bool
operator >=(dynamic other) bool

Constants

FORMATTED_DATE_FORMAT → const String
"EEE, d MMM yyyy"
FORMATTED_DATE_FORMAT_SHORT → const String
"d/MM/yy"
FORMATTED_DATE_TIME_24h_FORMAT → const String
"EEE, d MMM yyyy HH:mm"
FORMATTED_DATE_TIME_FORMAT → const String
"EEE, d MMM yyyy hh:mm a"
FORMATTED_DATE_TIME_FORMAT_24h_SHORT → const String
"d/MM/y H:mm"
FORMATTED_DATE_TIME_FORMAT_SHORT → const String
"d/MM/y h:mm a"
FORMATTED_TIME_FORMAT → const String
"hh:mm a"
FORMATTED_TIME_FORMAT_24h → const String
"HH:mm"
FORMATTED_TIME_FORMAT_24h_SHORT → const String
"H:mm"
FORMATTED_TIME_FORMAT_SHORT → const String
"h:mm a"
FULL_DATE_TIME_FORMAT → const String
"yyyy-MM-dd'T'HH:mm:ss.SSS"
SIMPLE_DATE_TIME_FORMAT → const String
"yyyy-MM-dd'T'HH:mm:ss"