Time distances are measured in a specific duration measure, and, most importantly, inside a specific time frame. Thus, the distance will be the shortest distance in time there can be between the two time expressions compared within the given time frame.
Time distances are applied to properties which belong to the property type "TimeExpressionProperty".