The OpenD Programming Language

Date.dayOfYear

Day of the year.

  1. ushort dayOfYear [@property getter]
  2. int dayOfYear [@property setter]
    struct Date
    @property @safe pure
    void
    dayOfYear
    (
    int day
    )

Parameters

day int

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

Throws

std.datetime.date.DateTimeException if the given day is an invalid day of the year.

Meta