The OpenD Programming Language

trustedCreate

@safe pure @nogc pragma(inline, false) static @safe pure @nogc nothrow
Date
trustedCreate
(
int _year
,
int _month
,
int _day
)

Parameters

_year int

Year of the Gregorian Calendar. Positive values are A.D. Non-positive values are B.C. with year 0 being the year prior to 1 A.D.

_month int

Month of the year (January is 1).

_day int

Day of the month.

Throws

DateTimeException if the resulting Date would not be valid.

Meta