TomlLocalTime class
AST node that represents a TOML local time value.
local-time = partial-time
- Inheritance
-
- Object
- TomlNode
- TomlValue
- TomlDateTime
- TomlLocalTime
- Annotations
-
- @immutable
Constructors
- TomlLocalTime(TomlPartialTime time)
- Creates a new local time value.
Properties
- 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 without time-zone offset.
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 -
atDate(
TomlFullDate date) → TomlLocalDateTime - Gets a TomlLocalDateTime that represents this time at the given 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<
TomlLocalTime> -
Parser for a TOML local time value.
final
Static Methods
-
parse(
String input) → TomlLocalTime -
Parses the given string as a TOML local time.
override