Date.dayOfYear

ushort dayOfYear() @property const @safe pure nothrow @nogc

Day of the year this Date is on.

void dayOfYear(int day) @property @safe pure

Day of the year.

Parameters

dayThe day of the year to set which day of the year this Date is on.

Throws

DateTimeException if the given day is an

invalid day of the year.