TimeStampStyle class
Style of inline timestamp that can be embedded into message
Constructors
- TimeStampStyle.from(String value)
-
Create instance of TimeStampStyle from
value
Properties
Methods
-
format(
DateTime dateTime) → String - Return
-
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 ==(
dynamic other) → bool -
The equality operator.
inherited
Constants
- def → const TimeStampStyle
- Default style
- longDate → const TimeStampStyle
- Long Date
- longDateTime → const TimeStampStyle
- Long Date/Time
- longTime → const TimeStampStyle
- Long Time
- relativeTime → const TimeStampStyle
- Relative Time
- shortDate → const TimeStampStyle
- Short Date
- shortDateTime → const TimeStampStyle
- Short Date/Time
- shortTime → const TimeStampStyle
- Short Time