The OpenD Programming Language

DateTime.this

  1. this(Date date, TimeOfDay tod)
  2. this(int year, int month, int day, int hour, int minute, int second)
    struct DateTime
    @safe pure
    this
    (
    int year
    ,
    int month
    ,
    int day
    ,
    int hour = 0
    ,
    int minute = 0
    ,
    int second = 0
    )

Parameters

year int

The year portion of the date.

month int

The month portion of the date (January is 1).

day int

The day portion of the date.

hour int

The hour portion of the time;

minute int

The minute portion of the time;

second int

The second portion of the time;

Meta