Date constructor

Date(
  1. int year, [
  2. int month = 1,
  3. int day = 1
])

Creates a Date with the given parameters.

Implementation

Date(int year, [int month = 1, int day = 1]): super(year, month, day, 0, 0, 0, 0, 0);