Made DateTimeRange factory implementation independent from MomentInTimeRange.