TimeOfDay.hour

Hours past midnight.

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

Parameters

hour int

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

Throws

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

Meta