AdeptDateTime class

Created by Luis on 09/02/19.

Implemented types
Implementers

Constructors

AdeptDateTime({String? date, int? dateTimeMillis, DateTime? dateAsDateTime, bool? use24h, String? dateFormatStandard, String? formattedDateTimeFormat, String? formattedDateFormat, String? formattedTimeFormat})
AdeptDateTime.fromJson(String? json)
factory

Properties

date String?
getter/setter pair
dateAsDateTime DateTime?
getter/setter pair
dateAsDateTimeLocal DateTime?
getter/setter pair
dateFormat String
getter/setter pair
dateTimeMillis int?
getter/setter pair
formattedDateFormat String?
getter/setter pair
formattedDateTimeFormat String?
getter/setter pair
formattedTimeFormat String?
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
use24h bool
getter/setter pair

Methods

compareTo(AdeptDateTime other) int
Compares this object to another object.
override
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
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setDate(String value) → dynamic
setDateAsDateTime(DateTime? value) → dynamic
setDateAsDateTimeLocal(DateTime value) → dynamic
setDateFormat(String value) → dynamic
setDateTimeMillis(int value) → void
setFormattedDateFormat(String value) → dynamic
setFormattedDateTimeFormat(String value) → dynamic
setFormattedTimeFormat(String value) → dynamic
toJson() String?
toJsonMap() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

fromJsonMap(Map<String, dynamic>? json) AdeptDateTime?