dayNameShortLocalized method

String dayNameShortLocalized([
  1. dynamic locale
])

Gets the abbreviated day name in a specific locale.

Example:

final date = DateTime(2024, 1, 15); // Monday
print(date.dayNameShortLocalized('en')); // Output: "Mon"
print(date.dayNameShortLocalized('fr')); // Output: "lun"

Implementation

String dayNameShortLocalized([dynamic locale]) => DateFormat.E(locale).format(this);