Fix deprecation warnings (#585)
Motivation:
NIO 2.8.0 deprecated 'TimeAmount.Value' in favour of using 'Int64'
directly. This caused unnecessary warnings.
Modifications:
Replace usages of 'TimeAmount.Value' with 'Int64'.
Result:
- No more warnings.
- 'TimeAmount.Value' was 'Int64' before it was deprecated, so no
functional changes.