TimeRange.from_variant


Description:

public TimeRange.from_variant (Variant variant) throws DataModelError

Create a #TimeRange from a variant.

Parameters:

variant

a variant representing a #TimeRange

Returns:

a new time range starting from the moment of invocation to the end of time