DateTime.this

this(Date date, TimeOfDay tod = TimeOfDay.init) @safe pure nothrow @nogc

Parameters

dateThe date portion of DateTime.
todThe time portion of DateTime.
this(int year, int month, int day, int hour = 0, int minute = 0, int second = 0) @safe pure

Parameters

yearThe year portion of the date.
monthThe month portion of the date (January is 1).
dayThe day portion of the date.
hourThe hour portion of the time;
minuteThe minute portion of the time;
secondThe second portion of the time;