From 3e224983d4e3f119b6757fa3db8b79ac264ceb75 Mon Sep 17 00:00:00 2001 From: MicheleCeresoli Date: Thu, 1 Aug 2024 11:02:26 +0200 Subject: [PATCH] Added documentation on duration --- docs/src/tutorials/t01_epochs.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/src/tutorials/t01_epochs.md b/docs/src/tutorials/t01_epochs.md index 6dc09c1..7ed5ce7 100644 --- a/docs/src/tutorials/t01_epochs.md +++ b/docs/src/tutorials/t01_epochs.md @@ -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