Time.opBinary

Returns a time span which represents the difference in time between this and the given Time.

  1. Time opBinary(TimeSpan t)
  2. TimeSpan opBinary(Time t)
    struct Time
    opBinary
    (
    string op
    )
    if (
    op == "-"
    )

Parameters

t Time

A Time value.

Return Value

Type: TimeSpan

A TimeSpan which represents the difference between this and t.

Meta