Skip to content

Commit

Permalink
Added documentation on duration
Browse files Browse the repository at this point in the history
  • Loading branch information
MicheleCeresoli committed Aug 1, 2024
1 parent 4dadcd1 commit 3e22498
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/src/tutorials/t01_epochs.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,9 @@ value(Δe)
e3 = Epoch(40, TAI)
e1 - e3
```
Notice that this operation can be performed only if the two epochs are defined on the same timescale.
Notice that this operation can be performed only if the two epochs are defined on the same timescale. When computing the difference between two epochs, the result is returned in the
form of a [`Duration`](@ref) object. The [`value`](@ref) can then be used to retrieve the
actual number of seconds it represents.

Epochs can also be shifted forward and backwards in time by adding or subtracting an arbitrary number of seconds:
```@repl init
Expand Down

0 comments on commit 3e22498

Please # to comment.