Interval.this

  1. this(TP begin, U end)
    struct Interval(TP)
    pure
    this
    (
    U
    )
    (
    scope const TP begin
    ,
    scope const U end
    )
    if (
    is(immutable TP == immutable U)
    )
  2. this(TP begin, D duration)

Parameters

begin TP

The time point which begins the interval.

end U

The time point which ends (but is not included in) the interval.

Throws

Examples

Interval!Date(Date(1996, 1, 2), Date(2012, 3, 1));

Meta