klyn.time.Duration.operator<
method

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

Description

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

Parameters

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

Returns

True when `first` is strictly shorter.

Example

    import klyn.time

    assert Duration(seconds=1.0) < Duration(seconds=2.0)