MonthUtils class
Utility class for month name operations.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
getMonthLongName(
int month) → String? - Gets the full name of a month.
-
getMonthShortName(
int? month) → String? - Gets the abbreviated name of a month.
Constants
-
monthLongNames
→ const Map<
int, String> - Full month names indexed by month number (1-12).
-
monthNumbers
→ const List<
int> - List of all month numbers (1-12).
-
monthShortNames
→ const Map<
int, String> - Abbreviated month names indexed by month number (1-12).