Date<T extends DateAdapter<AbstractDate>> constructor

const Date<T extends DateAdapter<AbstractDate>>(
  1. int year, [
  2. int month = 1,
  3. int day = 1
])

///////////////////////////////////////////////////////////////////////////

constructs a Date with type of T

type T must be registered.

Implementation

///
/// constructs a [Date] with type of [T]
///
/// type [T] must be registered.
///
const Date(int year, [int month = 1, int day = 1]) : super(year, month, day);