GlideDuration - Scoped

The scoped GlideDuration class provides methods for working with spans of time or durations.

GlideDuration objects store the duration as a date and time from January 1, 1970, 00:00:00. As a result, setValue() and getValue() use the scoped GlideDateTime object for parameters and return values.