DHUDateFormatExtension extension

on

Methods

dateFormatUtc(String pattern, [String? locale]) String
Formats the DateTime object in UTC using the provided pattern and optional locale.
format(String pattern, [String? locale]) String
Formats the DateTime object using the provided pattern and optional locale.
formatAsEEEE([String? locale]) String
Formats the DateTime object using the EEEE format and optional locale.
formatAsEEEEE([String? locale]) String
Formats the DateTime object using the EEEEE format and optional locale.
formatAsH([String? locale]) String
Formats the DateTime object using the H format and optional locale.
formatAsHm([String? locale]) String
Formats the DateTime object using the Hm format and optional locale.
formatAsHms([String? locale]) String
Formats the DateTime object using the Hms format and optional locale.
formatAsLLL([String? locale]) String
Formats the DateTime object using the LLL format and optional locale.
formatAsLLLL([String? locale]) String
Formats the DateTime object using the LLLL format and optional locale.
formatAsM([String? locale]) String
Formats the DateTime object using the M format and optional locale.
formatAsMd([String? locale]) String
Formats the DateTime object using the Md format and optional locale.
formatAsMEd([String? locale]) String
Formats the DateTime object using the MEd format and optional locale.
formatAsMMM([String? locale]) String
Formats the DateTime object using the MMM format and optional locale.
formatAsMMMd([String? locale]) String
Formats the DateTime object using the MMMd format and optional locale.
formatAsMMMEd([String? locale]) String
Formats the DateTime object using the MMMEd format and optional locale.
formatAsMMMM([String? locale]) String
Formats the DateTime object using the MMMM format and optional locale.
formatAsMMMMd([String? locale]) String
Formats the DateTime object using the MMMMd format and optional locale.
formatAsMMMMEEEEd([String? locale]) String
Formats the DateTime object using the MMMMEEEEd format and optional locale.
formatAsQQQ([String? locale]) String
Formats the DateTime object using the QQQ format and optional locale.
formatAsQQQQ([String? locale]) String
Formats the DateTime object using the QQQQ format and optional locale.
formatAsyM([String? locale]) String
Formats the DateTime object using the yM format and optional locale.
formatAsyMd([String? locale]) String
Formats the DateTime object using the yMd format and optional locale.
formatAsyMEd([String? locale]) String
Formats the DateTime object using the yMEd format and optional locale.
formatAsyMMM([String? locale]) String
Formats the DateTime object using the yMMM format and optional locale.
formatAsyMMMd([String? locale]) String
Formats the DateTime object using the yMMMd format and optional locale.
formatAsyMMMEd([String? locale]) String
Formats the DateTime object using the yMMMEd format and optional locale.
formatAsyMMMM([String? locale]) String
Formats the DateTime object using the yMMMM format and optional locale.
formatAsyMMMMd([String? locale]) String
Formats the DateTime object using the yMMMMd format and optional locale.
formatAsyMMMMEEEEd([String? locale]) String
Formats the DateTime object using the yMMMMEEEEd format and optional locale.
formatASyQQQ([String? locale]) String
Formats the DateTime object using the yQQQ format and optional locale.
formatAsyQQQQ([String? locale]) String
Formats the DateTime object using the yQQQQ format and optional locale.