int IComparable.CompareTo(object obj)
        {
            DateTimeValueBase other = obj as DateTimeValueBase;

            if (other == null)
            {
                throw new ArgumentException("obj");
            }
            return(Value.CompareTo(other.Value));
        }
        public override bool Equals(object obj)
        {
            DateTimeValueBase other = obj as DateTimeValueBase;

            if (other != null)
            {
                return(Value.Equals(other.Value));
            }
            return(false);
        }