The OpenD Programming Language

DateTime.hour

Hours past midnight.

  1. ubyte hour [@property getter]
  2. int hour [@property setter]
    struct DateTime
    @property @safe pure
    void
    hour
    (
    int hour
    )

Parameters

hour int

The hour of the day to set this DateTime's hour to.

Throws

std.datetime.date.DateTimeException if the given hour would result in an invalid DateTime.

Meta