public static HDateTime Map(HaystackDateTime value) { return(new HDateTime(value)); }
public HaystackHistoryItem(HaystackDateTime timeStamp, HaystackValue Value) { TimeStamp = timeStamp ?? throw new ArgumentNullException(nameof(timeStamp)); this.Value = Value ?? throw new ArgumentNullException(nameof(Value)); }
public int CompareTo(HaystackDateTime other) => Value.ToUniversalTime().CompareTo(other.Value.ToUniversalTime());
public HDateTime(HaystackDateTime source) { Source = source; }