Duration is an object which represents a span of time.
Duration
Usually you'd use one of these functions to create one: