public static operator<(first as Duration, second as Duration) as Boolean:
Returns true when the first duration is shorter than the second one.
| Parameter | Description |
|---|---|
first | Left operand. |
second | Right operand. |
True when first is strictly shorter.
import klyn.time assert Duration(seconds=1.0) < Duration(seconds=2.0)