TomlFullDate class

A date without time and time-zone offset that is used for the internal representation of TOML date and date-time values.

full-date      = date-fullyear "-" date-month "-" date-mday

date-fullyear  = 4DIGIT
date-month     = 2DIGIT     ; 01-12
date-mday      = 2DIGIT     ; 01-28, 01-29, 01-30, 01-31
                            ; based on month/year
Annotations
  • @immutable

Constructors

TomlFullDate(int year, int month, int day)
Creates a full date.

Properties

day int
The day of month as a number from 1 to 28, 29, 30 or 31 depending on the year and month.
final
hashCode int
The hash code for this object.
no setteroverride
month int
The month as a number from 1 to 12.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
year int
The full year.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override

Static Properties

parser → Parser<TomlFullDate>
Parser for a full date.
final