DateTimeFormat enum

Enumeration of formats for dates and times.


dd_dot_MM_dot_yyyy → const DateTimeFormat

Date format '24.12.2001'

using: dateOnly

const DateTimeFormat(0)
HH_colon_mm → const DateTimeFormat

Corresponds to the ICU 'HH:mm' pattern.

This format uses 24-hour two-digit zero-padded hours. Controls are always laid out horizontally. Hours are separated from minutes by one colon character.

using: timeOnly

const DateTimeFormat(1)
ISO → const DateTimeFormat

Corresponds to ISO 8601 'yyyy-MM-dd HH:mm' pattern

using: dateAndTime

const DateTimeFormat(2)
MM_slash_dd_slash_yyyy → const DateTimeFormat

US format '12/24/2001'

using: dateOnly

const DateTimeFormat(3)
values → const List<DateTimeFormat>

A constant List of the values in this enum, in order of their declaration.

const List<DateTimeFormat>
yyyy_dash_MM_dash_dd → const DateTimeFormat

ISO date format 2001-12-24

using: dateOnly

const DateTimeFormat(4)


hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

runtimeType Type
A representation of the runtime type of the object.
read-only, inherited


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toString() String
A string representation of this object. [...]


operator ==(Object other) bool
The equality operator. [...]