CalenderDateFormate enum
Enum representing various date formats to be used in the calendar.
Each format provides a different skeleton string, which can be used with
intl to generate formatted date strings.
DateFormatto generate formatted date strings.
Values
- DAY → const CalenderDateFormate
-
Day of the month, e.g., "1".
const CalenderDateFormate('d') - ABBR_WEEKDAY → const CalenderDateFormate
-
Abbreviated weekday, e.g., "Mon".
const CalenderDateFormate('E') - WEEKDAY → const CalenderDateFormate
-
Full weekday name, e.g., "Monday".
const CalenderDateFormate('EEEE') - ABBR_STANDALONE_MONTH → const CalenderDateFormate
-
Abbreviated standalone month name, e.g., "Jan".
const CalenderDateFormate('LLL') - STANDALONE_MONTH → const CalenderDateFormate
-
Full standalone month name, e.g., "January".
const CalenderDateFormate('LLLL') - NUM_MONTH → const CalenderDateFormate
-
Numeric month, e.g., "1" for January.
const CalenderDateFormate('M') - NUM_MONTH_DAY → const CalenderDateFormate
-
Numeric month and day, e.g., "1/15".
const CalenderDateFormate('Md') - NUM_MONTH_WEEKDAY_DAY → const CalenderDateFormate
-
Numeric month, weekday, and day, e.g., "Mon, 1/15".
const CalenderDateFormate('MEd') - ABBR_MONTH → const CalenderDateFormate
-
Abbreviated month, e.g., "Jan".
const CalenderDateFormate('MMM') - ABBR_MONTH_DAY → const CalenderDateFormate
-
Abbreviated month and day, e.g., "Jan 15".
const CalenderDateFormate('MMMd') - ABBR_MONTH_WEEKDAY_DAY → const CalenderDateFormate
-
Abbreviated month, weekday, and day, e.g., "Mon, Jan 15".
const CalenderDateFormate('MMMEd') - MONTH → const CalenderDateFormate
-
Full month, e.g., "January".
const CalenderDateFormate('MMMM') - MONTH_DAY → const CalenderDateFormate
-
Full month and day, e.g., "January 15".
const CalenderDateFormate('MMMMd') - MONTH_WEEKDAY_DAY → const CalenderDateFormate
-
Full month, weekday, and day, e.g., "Monday, January 15".
const CalenderDateFormate('MMMMEEEEd') - ABBR_QUARTER → const CalenderDateFormate
-
Abbreviated quarter, e.g., "Q1".
const CalenderDateFormate('QQQ') - QUARTER → const CalenderDateFormate
-
Full quarter, e.g., "1st Quarter".
const CalenderDateFormate('QQQQ') - YEAR → const CalenderDateFormate
-
Year, e.g., "2024".
const CalenderDateFormate('y') - YEAR_NUM_MONTH → const CalenderDateFormate
-
Year and numeric month, e.g., "2024/1".
const CalenderDateFormate('yM') - YEAR_NUM_MONTH_DAY → const CalenderDateFormate
-
Year, numeric month, and day, e.g., "2024/1/15".
const CalenderDateFormate('yMd') - YEAR_NUM_MONTH_WEEKDAY_DAY → const CalenderDateFormate
-
Year, numeric month, weekday, and day, e.g., "Mon, 2024/1/15".
const CalenderDateFormate('yMEd') - YEAR_ABBR_MONTH → const CalenderDateFormate
-
Year and abbreviated month, e.g., "2024 Jan".
const CalenderDateFormate('yMMM') - YEAR_ABBR_MONTH_DAY → const CalenderDateFormate
-
Year, abbreviated month, and day, e.g., "2024 Jan 15".
const CalenderDateFormate('yMMMd') - YEAR_ABBR_MONTH_WEEKDAY_DAY → const CalenderDateFormate
-
Year, abbreviated month, weekday, and day, e.g., "Mon, 2024 Jan 15".
const CalenderDateFormate('yMMMEd') - YEAR_MONTH → const CalenderDateFormate
-
Year and full month, e.g., "2024 January".
const CalenderDateFormate('yMMMM') - YEAR_MONTH_DAY → const CalenderDateFormate
-
Year, full month, and day, e.g., "2024 January 15".
const CalenderDateFormate('yMMMMd') - YEAR_MONTH_WEEKDAY_DAY → const CalenderDateFormate
-
Year, full month, weekday, and day, e.g., "Monday, 2024 January 15".
const CalenderDateFormate('yMMMMEEEEd') - YEAR_ABBR_QUARTER → const CalenderDateFormate
-
Abbreviated quarter with year, e.g., "2024 Q1".
const CalenderDateFormate('yQQQ') - YEAR_QUARTER → const CalenderDateFormate
-
Full quarter with year, e.g., "2024 1st Quarter".
const CalenderDateFormate('yQQQQ') - HOUR24 → const CalenderDateFormate
-
24-hour format hour, e.g., "13".
const CalenderDateFormate('H') - HOUR24_MINUTE → const CalenderDateFormate
-
24-hour format hour and minute, e.g., "13:45".
const CalenderDateFormate('Hm') - HOUR24_MINUTE_SECOND → const CalenderDateFormate
-
24-hour format hour, minute, and second, e.g., "13:45:30".
const CalenderDateFormate('Hms') - HOUR → const CalenderDateFormate
-
12-hour format hour, e.g., "1 PM".
const CalenderDateFormate('j') - HOUR_MINUTE → const CalenderDateFormate
-
12-hour format hour and minute, e.g., "1:45 PM".
const CalenderDateFormate('jm') - HOUR_MINUTE_SECOND → const CalenderDateFormate
-
12-hour format hour, minute, and second, e.g., "1:45:30 PM".
const CalenderDateFormate('jms') - HOUR_MINUTE_GENERIC_TZ → const CalenderDateFormate
-
Hour and minute with generic timezone, e.g., "1:45 PM PST".
const CalenderDateFormate('jmv') - HOUR_MINUTE_TZ → const CalenderDateFormate
-
Hour and minute with timezone, e.g., "1:45 PM PST".
const CalenderDateFormate('jmz') - HOUR_GENERIC_TZ → const CalenderDateFormate
-
Hour with generic timezone, e.g., "1 PM PST".
const CalenderDateFormate('jv') - HOUR_TZ → const CalenderDateFormate
-
Hour with timezone, e.g., "1 PM PST".
const CalenderDateFormate('jz') - MINUTE → const CalenderDateFormate
-
Minutes only, e.g., "45".
const CalenderDateFormate('m') - MINUTE_SECOND → const CalenderDateFormate
-
Minutes and seconds, e.g., "45:30".
const CalenderDateFormate('ms') - SECOND → const CalenderDateFormate
-
Seconds only, e.g., "30".
const CalenderDateFormate('s')
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- skeleton → String
-
Skeleton string to be used with
DateFormatfor formatting.final
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
Constants
-
values
→ const List<
CalenderDateFormate> - A constant List of the values in this enum, in order of their declaration.