toSmallMonthName property

String get toSmallMonthName

Gets the short month name (e.g., "Jan") corresponding to this number (1-12).

Example:

1.toSmallMonthName; // Returns "Jan"
12.toSmallMonthName; // Returns "Dec"

If the number is outside the range 1-12, it will be clamped within this range.

Implementation

String get toSmallMonthName => toFullMonthName.substring(0, 3);