DateDuration constructor

const DateDuration(
  1. int year,
  2. int month,
  3. int day
)

A class that represents a date period.

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

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

yearmonthdayのみを入力してその期間とします。

Implementation

const DateDuration(this.year, this.month, this.day);