ISO 8601 可以表示 start/end 是持续时间的时间间隔吗?

Can ISO 8601 represent time intervals where start/end is a duration?

ISO 8601:2004定义了一个time interval format,可以用多种格式表示,包括"c) by a start and a duration"和"d) by a duration and an end"。

仅从维基百科文章来看,这些示例似乎只提供 startend 为 "time points",例如2007-03-01T13:00:00Z/P1Y2M10DT2H30M 将是从 2007 年 3 月 1 日 13:00 UTC 开始的 1 年 2 个月 10 天 2 小时 3 分钟的时间间隔。

是否可以表示在一段时间后开始或结束的时间间隔?例如,P1Y/P1Y2M10DT2H30M 将是相同的持续时间,但 1 年后 "starting"。

这样的语法对于模拟相对时间间隔很有用,尤其是在与重复限定相结合时。例如,每月退休支出可以合理地表示为 R/P65Y/1M.

ISO-8601 中未定义表达式 "P1Y/P1Y2M10DT2H30M"。本文提到了 "time interval" 的以下四种变体:

a) Start and end are defined as points in time, example => 2019-08-27/2019-08-29

b) Duration without any fixed anchor on the (date)- or timeline, example => P3D

c) Start as point in time and a duration, example => 2019-08-27/P3D

d) A duration and the end as point in time, example => P3D/2019-08-29

所以你的问题"Is it possible to represent a time interval which start or ends after some duration?"可以得到明确的回答"No"。老实说,double 持续时间表达式会让大多数用户感到困惑。