MONTH enum
An enum representation of month
Values
- january → const MONTH
-
january
const MONTH(number: 1)
- february → const MONTH
-
february
const MONTH(number: 2)
- march → const MONTH
-
march
const MONTH(number: 3)
- april → const MONTH
-
april
const MONTH(number: 4)
- may → const MONTH
-
may
const MONTH(number: 5)
- june → const MONTH
-
june
const MONTH(number: 6)
- july → const MONTH
-
july
const MONTH(number: 7)
- august → const MONTH
-
august
const MONTH(number: 8)
- september → const MONTH
-
september
const MONTH(number: 9)
- october → const MONTH
-
october
const MONTH(number: 10)
- november → const MONTH
-
november
const MONTH(number: 11)
- december → const MONTH
-
december
const MONTH(number: 12)
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
shortTitle(
[String? locale]) → String - Return the abbreviation
-
title(
[String? locale]) → String - Returns the month title based on locale
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromNumber(
int number) → MONTH - Convert a number to the enum value