TomlLocalDate class
AST node that represents a TOML local date value.
local-date = full-date
- Inheritance
-
- Object
- TomlNode
- TomlValue
- TomlDateTime
- TomlLocalDate
- Annotations
-
- @immutable
Constructors
- TomlLocalDate(TomlFullDate date)
- Creates a new local date value.
Properties
- date → TomlFullDate
-
The date.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → TomlType
-
The type of the TOML value represented by this AST node.
no setteroverride
Methods
-
acceptDateTimeVisitor<
T> (TomlDateTimeVisitor< T> visitor) → T -
Invokes the correct
visit*
method for this date or time value of the given visitor.override -
acceptValueVisitor<
T> (TomlValueVisitor< T> visitor) → T -
Invokes the correct
visit*
method for this value of the given visitor.inherited -
acceptVisitor<
T> (TomlVisitor< T> visitor) → T -
Invokes the correct
visit*
method for this value of the given visitor.inherited -
atTime(
TomlPartialTime time) → TomlLocalDateTime - Gets a TomlLocalDateTime that represents the given time at this date.
-
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.
override
Static Properties
-
parser
→ Parser<
TomlLocalDate> -
Parser for a TOML local date value.
final
Static Methods
-
parse(
String input) → TomlLocalDate -
Parses the given string as a TOML local date.
override