klyn.time.Duration.operator>
method

    public static operator>(first as Duration, second as Duration) as Boolean:

Description

Returns true when the first duration is longer than the second one.

Parameters

Parameter | Description
--- | ---
`first` | Left operand.
`second` | Right operand.

Returns

True when `first` is strictly longer.

Example

    import klyn.time

    assert Duration(seconds=3.0) > Duration(seconds=2.0)