DateTimePatternToken class abstract
DateTime pattern token.
The DateTimePatternTokenizer class returns a list of tokens.
Constructors
- DateTimePatternToken.formatter(DateTimeFormatter formatter)
-
Create a new DateTimePatternToken instance from the given DateTimeFormatter
constfactory
- DateTimePatternToken.remove()
-
Create a new DateTimePatternToken instance for removing.
constfactory
- DateTimePatternToken.string(String value)
-
Create a new DateTimePatternToken instance from the given String
constfactory
Properties
Methods
-
format(
DateTime date) → String -
Format the given
date
and return the formatted string. -
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