TomlLocalDateTime class
AST node that represents a TOML local date-time value.
local-date-time = full-date time-delim partial-time
time-delim = "T" / %x20 ; T, t, or space
- Inheritance
-
- Object
- TomlNode
- TomlValue
- TomlDateTime
- TomlLocalDateTime
- Annotations
-
- @immutable
Constructors
- TomlLocalDateTime(TomlFullDate date, TomlPartialTime time)
- Creates a new local date-time 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
- time → TomlPartialTime
-
The time.
final
- 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 -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
withOffset(
TomlTimeZoneOffset offset) → TomlOffsetDateTime - Interprets this local date-time as an offset date-time in the given time-zone.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Properties
-
parser
→ Parser<
TomlLocalDateTime> -
Parser for a TOML local date-time value.
final
Static Methods
-
parse(
String input) → TomlLocalDateTime -
Parses the given string as a TOML local date-time.
override