DateDuration class

A class that represents a date period.

Enter only year, month, or day to be the period.

日付の期間を表すクラス。

year、month、dayのみを入力してその期間とします。

Constructors

DateDuration(int year, int month, int day)
A class that represents a date period.
const

Properties

day → int
Days.
final
hashCode → int
The hash code for this object.
no setteroverride
month → int
Months.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
year → int
Years.
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