TimestampStyle enum

Inheritance
Available extensions

Values

none → const TimestampStyle
const TimestampStyle('')
shortTime → const TimestampStyle
const TimestampStyle('t')
longTime → const TimestampStyle
const TimestampStyle('T')
shortDate → const TimestampStyle
const TimestampStyle('d')
longDate → const TimestampStyle
const TimestampStyle('D')
shortDateTime → const TimestampStyle
const TimestampStyle('f')
longDateTime → const TimestampStyle
const TimestampStyle('F')
relativeTime → const TimestampStyle
const TimestampStyle('R')

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
style String
The style of the timestamp.
final

Methods

format(DateTime date) String
Format date using this timestamp style.
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<TimestampStyle>
A constant List of the values in this enum, in order of their declaration.