Typedef ecl::Duration

Typedef Documentation

typedef TimeStamp ecl::Duration

Convenience typedef to associate timestamps with the concept of durations.

Both timestamps and durations utilise similar functionality under the hood, even though they are conceptually different. The only thing I might consider if creating a separate class for durations is to introduce negativity. However, I’ve yet to find a real use for it.