/// <inheritdoc/> public int CompareTo(InterlockedDateTime other) { return(GetValue().ToUtc().CompareTo(other.GetValue().ToUtc())); }
/// <inheritdoc/> public bool Equals(InterlockedDateTime other) { return(Equals(other.GetValue())); }
/// <summary> /// Converts to the given <paramref name="value"/> to a <see cref="DateTime"/>. /// </summary> /// <param name="value"> /// The value to convert. /// </param> /// <returns> /// The <see cref="DateTime"/> representation of the given <paramref name="value"/>. /// </returns> public static DateTime ToDateTime(InterlockedDateTime value) { return(value.GetValue()); }