Open KrisThielemans opened 1 year ago
Are you thinking a RelativeTime
is linked (via pointer) to a specific DateTime
? Or standalone like Python's timedelta
?
I think standalone would be best. You could have a lot of RelativeTime
entries (e.g. a vector
). If they all need to link to a DateTime
, that'd be a ton of overhead. Which DateTime
it is relative to would then be part of the semantics of the model described by the yardl file.
It seems useful to have a
RelativeTime
, i.e. offset w.r.t. some definedDateTime
, such as a scan start. This would be quite useful in de-identifying some data. In some cases, the time of scan needs to be removed from the data, but it'd be painful to have to adjust all times in the file.