DateTimeFormat class

Constructors

DateTimeFormat(DateTime dateTime, {String? seprator, DateTimeLang? lang})

Properties

hashCode int
The hash code for this object.
no setterinherited
lang DateTimeLang?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

hm({bool showPeriod = false}) String
hm() => 02:37 hm() => 2:37 AM /// ```
hms({bool showPeriod = false}) → dynamic
hms() => 02:37:31 hms() => 2:37:31 AM
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
yM() String
yM() => 10/2022
yMd() String
yMd() => 10/30/2022
yMEd({bool isFull = false}) String
yMEd()=> Sun, 10/30/2022 yMEd(isFull: true) => Sunday, 10/30/2022
yMMd({bool isFull = false}) String
yMMd() => 30 Oct 2022 yMMd(isFull: true) => 30 October 2022
yMMM({bool isFull = false}) String
yMMM() => Oct 2022 yMMM(isFull: true) => October 2022
yMMMd({bool isFull = false}) String
yMMMd() => Oct 30, 2022 yMMMd(isFull: true) => October 30, 2022
yMMMEd({bool isFull = false}) String
yMMMEd() => Sun, Oct 30, 2022 yMMMEd(isFull: true) =>Sunday, October 30, 2022
yQQQ({bool isFull = false}) String
yQQQ() => Q4 2022 yQQQ(isFull: true)=> 4th quarter 2022

Operators

operator ==(Object other) bool
The equality operator.
inherited