14 private double? _value;
29 return TimeSpan.FromSeconds(
Value).ToString(
"h'h 'm'm 's'.'fff's'");
35 public static implicit
operator double(
RunTime d) => d._value.Value;
45 public static implicit
operator string(
RunTime d) => d.ToString();
51 public double Value => _value.Value;
62 other !=
null && other.HasValue &&
63 Equals(_value, other.Value);
User-friendly representation of the numeric optimization runtime_seconds field. Wraps a nullable doub...
override string ToString()
ToString() method override. Example: for double value 33.456 the formatted string will be "0h 0m 33....
double Value
Gets the double value of the current RunTime object if the HasValue property is true....
bool HasValue
Gets a bool value indicating whether the object has a valid double value.
bool Equals(RunTime other)
Returns a value indicating whether this instance value is equal to another RunTime object value.